G
G
For some reason, I'm having difficulty verifying whether or not a text box is
populated. Here's what I have:
Text Box "faxnumber"
Check Box "sendfax"
When I check off "faxnumber", I first want to verify that there is fax
number entered. I'm running the beforeupdate event with the following code:
If Me.sendfax And me.faxnumber Like "" Then
MsgBox "The FAX NUMBER field must be populated before selecting SEND FAX"
Me.sendfax.undo
end if
I'm allowed to enter a check box in the "sendfax" check box. I also tried
the following:
If Me.sendfax And len(me.faxnumber) =< 0 Then
No success.
Any ideas?
Thanks in advance for your assistance.
Regards,
Gary
populated. Here's what I have:
Text Box "faxnumber"
Check Box "sendfax"
When I check off "faxnumber", I first want to verify that there is fax
number entered. I'm running the beforeupdate event with the following code:
If Me.sendfax And me.faxnumber Like "" Then
MsgBox "The FAX NUMBER field must be populated before selecting SEND FAX"
Me.sendfax.undo
end if
I'm allowed to enter a check box in the "sendfax" check box. I also tried
the following:
If Me.sendfax And len(me.faxnumber) =< 0 Then
No success.
Any ideas?
Thanks in advance for your assistance.
Regards,
Gary