G
Guest
In php "break" ends execution of the current for, foreach, while, do-while or
switch structure.
In a form I have a Command Button to execute a couple of database commands.
In the top of the coding of the button I added:
If IsNull(Me.cboName) Then
MsgBox "All fields are required"
End If
I want to add a sort of Break command just after the MsgBox to stop all
other commandlines under the Command Button.
Anyone an idea?
switch structure.
In a form I have a Command Button to execute a couple of database commands.
In the top of the coding of the button I added:
If IsNull(Me.cboName) Then
MsgBox "All fields are required"
End If
I want to add a sort of Break command just after the MsgBox to stop all
other commandlines under the Command Button.
Anyone an idea?