A how to question

B

Bill Stanton

In the following segment of code from the code-sheet
of one of my forms, how do I suspend execution of
the code that follows the invocation of another form
(see DoCmdOpenForm) until the form "frmAddLabel"
closes?

======================================
Private Sub NewLabel_Click()
DoCmd.OpenForm "frmAddLabel", acNormal, , , acFormEdit

Me.cmboLabel.SetFocus
Me.cmdNewLabel.Visible = False
Me.cmboLabel.Dropdown
======================================

End Sub

Thanks,
Bill
 

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

Similar Threads


Top