J
johnson
I have a problem with displaying a message box.
I have a form, form1 which displays a record. At the
bottom of form1 there is some buttons such as physical,
functional, etc which display more data about the record
on show on form1. Sometimes however there is no data for
the record in some of the buttons.
What I want is if there is no data for the record, a
message box to pop up alerting the user to this and giving
them the option to continue or not.
So far I have got.
If IdNumber = "" Then
MsgBox "There is no data for this record. Do you want to
continue?", vbYesNo, "MS Access"
Else
I dont know how to finish this segment. I have applied
this to the event 'On form load'
Please help
I have a form, form1 which displays a record. At the
bottom of form1 there is some buttons such as physical,
functional, etc which display more data about the record
on show on form1. Sometimes however there is no data for
the record in some of the buttons.
What I want is if there is no data for the record, a
message box to pop up alerting the user to this and giving
them the option to continue or not.
So far I have got.
If IdNumber = "" Then
MsgBox "There is no data for this record. Do you want to
continue?", vbYesNo, "MS Access"
Else
I dont know how to finish this segment. I have applied
this to the event 'On form load'
Please help