A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

OpenForm Action Cancelled error only when using Vista



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 19th 08, 07:51 PM posted to microsoft.public.outlook.program_vba
Crossh
external usenet poster
 
Posts: 14
Default OpenForm Action Cancelled error only when using Vista

I have an 2003 access database that works fine on Windows XP, but errors out
on the docmd.openform line of code (OpenForm action was cancelled) after
upgrading to Vista. Strangely enough, this is only a problem for one form, so
far. All the other forms that have identical code work fine. Basically, I
have
the user select a record from a subform and then click on a command button
(which
rebuilds the query for another form, saves it, and then opens the form to
allow editing of the selected record).

Here's the code:
DoCmd.OpenForm "frmNameOfForm", , , , , , "Edit"

Thanks for your help.

  #2  
Old December 19th 08, 09:29 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default OpenForm Action Cancelled error only when using Vista

This is an Outlook group, you might have better luck posting in an Access
group.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Crossh" wrote in message
...
I have an 2003 access database that works fine on Windows XP, but errors
out
on the docmd.openform line of code (OpenForm action was cancelled) after
upgrading to Vista. Strangely enough, this is only a problem for one form,
so
far. All the other forms that have identical code work fine. Basically, I
have
the user select a record from a subform and then click on a command button
(which
rebuilds the query for another form, saves it, and then opens the form to
allow editing of the selected record).

Here's the code:
DoCmd.OpenForm "frmNameOfForm", , , , , , "Edit"

Thanks for your help.


  #3  
Old December 30th 08, 06:51 PM posted to microsoft.public.outlook.program_vba
Crossh
external usenet poster
 
Posts: 14
Default OpenForm Action Cancelled error only when using Vista

Sorry, my mistake. FYI, posted in Access, still no answers.

"Ken Slovak - [MVP - Outlook]" wrote:

This is an Outlook group, you might have better luck posting in an Access
group.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Crossh" wrote in message
...
I have an 2003 access database that works fine on Windows XP, but errors
out
on the docmd.openform line of code (OpenForm action was cancelled) after
upgrading to Vista. Strangely enough, this is only a problem for one form,
so
far. All the other forms that have identical code work fine. Basically, I
have
the user select a record from a subform and then click on a command button
(which
rebuilds the query for another form, saves it, and then opens the form to
allow editing of the selected record).

Here's the code:
DoCmd.OpenForm "frmNameOfForm", , , , , , "Edit"

Thanks for your help.



  #4  
Old January 16th 09, 02:32 PM posted to microsoft.public.outlook.program_vba
Crossh
external usenet poster
 
Posts: 14
Default OpenForm Action Cancelled error only when using Vista

FYI, I decompiled then compiled all Access 2003 databases and now everything
works fine on the Vista machines.
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
action requests result in a popup menu with no action Gray Fox IA Outlook - Installation 0 September 29th 08 04:48 AM
Vista caused email error "user cancelled operation" Why? Daisy Outlook - Installation 3 March 13th 07 08:12 PM
Error: Rejected Safe Mode action : Microsoft Office Outlook. Ryan Close Outlook - Installation 0 December 13th 06 02:19 PM
How can we retrieve cancelled meeting without cancelled tag after Zahid Outlook - Calandaring 0 November 13th 06 04:21 AM
"User cancelled request" error? peterm1 Outlook Express 1 April 23rd 06 10:24 PM


All times are GMT +1. The time now is 05:06 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.