I IanT Registered User. Local time Today, 20:13 Joined Nov 30, 2001 Messages 191 Dec 14, 2001 #1 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!
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!
Hayley Baxter Registered User. Local time Today, 20:13 Joined Dec 11, 2001 Messages 1,607 Dec 14, 2001 #2 create a macro called msgbox then in the properties behind your combobox add this macro to not in list event. Hope this helps
create a macro called msgbox then in the properties behind your combobox add this macro to not in list event. Hope this helps
wh00t Registered User. Local time Today, 20:13 Joined May 18, 2001 Messages 264 Dec 14, 2001 #3 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
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