Microsoft
Software
Hardware
Network
Question : Pause sub, open form, continue sub to update
How to I do this?
1. from a sub routine on Form 1 open Form 2 and pause.
2. After a click on Form 2, set a global variable then close Form 2. ( I know how to do this )
3. After Form 2 has closed continue with sub routine on Form1 where we update a field with the global variable value.
Answer : Pause sub, open form, continue sub to update
in your codes on sub routine on Form 1 open Form 2 in modal/dialog mode,
this will halt your code in the sub and will resume after you close form 2
docmd.openform "Form2",,,,,acdialog
Random Solutions
Scheduled Task creation with VBscript
Image1.Picture = LoadPicture(...) fails in VBA -- Workarounds please?
Error in report vba
Can not edit MS Access Application??
How to trick application to install on different OS version?
Using 'Dirty' on a subform
foreach Object reference error c# and linq
Styling WPF TabItem with Image and Text
Text field search
Backgroundworker and Text Box