A how to question

  • Thread starter Thread starter Bill Stanton
  • Start date Start date
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

Parameters 5
Proper Code? 2
ByPass key ms access 2016 0
Opening form to specific record\ 3
NotInList Issue 1
populate form with a recordset 3
A Dirty NotInList 1
Code looping back to itself unexpectedly 3

Back
Top