OpenForm Action Cancelled error only when using Vista

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.
 
K

Ken Slovak - [MVP - Outlook]

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

Crossh

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top