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
 
Back
Top