T
Tony Williams
I have a for that has a command button which runs an update query. When the
query is finished I want a message box to say "Update complete" and on
clicking the OK button I want the for to close. I have added this to the end
of my code but am not sure if this will appear before the update has run.
Can anyone guide me on this please.
If MsgBox("Update completed", vbOKOnly, "Update complete") = vbOK Then
DoCmd.Close acForm, Me.Name
End If
Thanks
Tony
query is finished I want a message box to say "Update complete" and on
clicking the OK button I want the for to close. I have added this to the end
of my code but am not sure if this will appear before the update has run.
Can anyone guide me on this please.
If MsgBox("Update completed", vbOKOnly, "Update complete") = vbOK Then
DoCmd.Close acForm, Me.Name
End If
Thanks
Tony