Hello,
I am trying to write a message box that appears when clicking a command button to close a form in order to check that the user has selected a option from a combo box.
I have used the MsgBox("Message") code before, however the form still closes after reading the message and clicking OK. Is there anyway to go back to the form after clicking OK, or only displaying the message box if the user has failed to select a value from the combo box?
Any help would be greatly appreciated as I am relatively new to Access.
Thanks,
Jim
I am trying to write a message box that appears when clicking a command button to close a form in order to check that the user has selected a option from a combo box.
I have used the MsgBox("Message") code before, however the form still closes after reading the message and clicking OK. Is there anyway to go back to the form after clicking OK, or only displaying the message box if the user has failed to select a value from the combo box?
Any help would be greatly appreciated as I am relatively new to Access.
Thanks,
Jim