Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The acDialog parameter doesn't work with acFormDS??

Status
Not open for further replies.

steve728

Programmer
Joined
Mar 16, 2003
Messages
536
Location
US
I want to hold off on running some code until after I finish working with the called form.

The following works:
DoCmd.OpenForm "NextForm", , , , , acDialog

' This code runs when the Nextform is finished.

The following does not work"
DoCmd.OpenForm "NextForm", acFormDS,,,,acDialog

' The code immediately runs instead of waiting for
NextForm to finish being use!

How do I postpone the code since acDialog obviously does not work with a Datasheet view??? I tried setting a memvar like mContinue to false then resetting it to True in the NextForm close event. Still doesn't work. Please give me some ideas that can work.

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top