Re: 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" <Crossh@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:78789110-3308-46EB-9ECA-35CD85FD6ACE@xxxxxxxxxxxxxxxx
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.



.



Relevant Pages

  • Re: Opening Outlook Attachments in VBA
    ... Ken Slovak ... [MVP - Outlook] ... "JSkeggs" wrote in message ...
    (microsoft.public.outlook.program_vba)
  • VB6addin for outlook 2010
    ... Ken Slovak ... [MVP - Outlook] ... using redemption safeinspector I can insert the link at current cursor ...
    (microsoft.public.outlook.program_addins)
  • Re: Hoe to send a form ?
    ... Ken Slovak [MVP - Outlook] http://www.slovaktech.com ... > this form that doesn't fire when the recipients click this button. ...
    (microsoft.public.office.developer.outlook.vba)
  • Re: Dont save to SaveSentMessageFolder
    ... Ken Slovak ... "Helmut Weber" wrote in message ... > By the way, I am automating outlook by lotus script, ... > Helmut Weber, MVP WordVBA ...
    (microsoft.public.outlook.program_vba)
  • Re: MS sales in Europe
    ... Milly Staples [MVP - Outlook] ... I guess I should not have added that "ask Microsoft" part as I ... Jim Curts ...
    (microsoft.public.office.setup)