Prompt in form

IanT

Registered User.
Local time
Today, 20:13
Joined
Nov 30, 2001
Messages
191
I want a message to appear if no data is recorded in a field. The message is to appear when the field is out of focus. Can anyone help!
 
create a macro called msgbox then in the properties behind your combobox add this macro to not in list event.

Hope this helps
 
Here's a basic code that'll do it

Private Sub ProductName_LostFocus()

If IsNull(FieldName) Then
MsgBox ("Field is blank, you must enter data"), vbExclamation
End If

End Sub
 

Users who are viewing this thread

Back
Top Bottom