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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

One form pausing another

Status
Not open for further replies.

MagicalDean

Technical User
Feb 16, 2005
61
GB
I have a form called SignIn which opens up a further form called Picture, which has a picture of the person signing in (long story). Is there anyway I can stop the code running in the SignIn form while the Picture form is running, and only have it start again once the OK button has been clicked in the Picture form?
 
Open the Picture form with acDialog (ie as modal).

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Both the forms are made to look like dialog boxes, and for some reason the 2nd form has nothing in it when its opened like that :( Is there another way or will I have to find a different want to show the 2nd form?
 
How are you opening the 2nd form? If you are using code, PHV's suggestion will cause the code to pause until the 2nd form is closed.

DoCmd.OpenForm "2ndFormName",,,,,acDialog


Randy
 
Ah...now it works, I was being stupid :) I guess if I get the second form to do something like Authorisation = Yes and then the second form to work only If Authorisation = Yes then that should work correctly...?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top