Please can someone help
I am trying to add code where by when i click the exit button, i want the function to check all fields in record to see if there is a value present
if no value then msgbox needs to be displayed to show which field is missing data
eg
If User_ID = "" Then MsgBox "Please enter User ID"
if Date = "" then Msgbox "Please enter date
else
docmd.exit
please help -
I am trying to add code where by when i click the exit button, i want the function to check all fields in record to see if there is a value present
if no value then msgbox needs to be displayed to show which field is missing data
eg
If User_ID = "" Then MsgBox "Please enter User ID"
if Date = "" then Msgbox "Please enter date
else
docmd.exit
please help -