OpenForm Action Cancelled error only when using Vista

  • Thread starter Thread starter Crossh
  • Start date Start date
C

Crossh

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.
 
This is an Outlook group, you might have better luck posting in an Access
group.
 
FYI, I decompiled then compiled all Access 2003 databases and now everything
works fine on the Vista machines.
 
Back
Top