Solved Form - Best way to prompt users that they must complete a form field

Number11

Member
Local time
Today, 09:14
Joined
Jan 29, 2020
Messages
625
Love to hear about the best way to prompt the user when they leave a field black

Message - Please Complete Customers Telephone Number! - This cant be leave blank!
 
Is it possible to have a Customer who does not have a phone? Perhaps this is not a realistic criteria.
You can check for a value in the BeforeUpdate event. You can set the control's Tag property to "Required", and issue a message as appropriate.
BUT it seems reasonable that a Customer may not have a phone.
 
Is it possible to have a Customer who does not have a phone? Perhaps this is not a realistic criteria.
You can check for a value in the BeforeUpdate event. You can set the control's Tag property to "Required", and issue a message as appropriate.
BUT it seems reasonable that a Customer may not have a phone.
Thanks no we always have a telephone number so how would i get this setup
 
sorted it using this...

Dim strSQL As String
Dim ctl As Variant

If IsNull(Me.TelephoneNo) Then

Dialog.Box "Please enter a Customer Telephone Number!", vbCritical, "Data entry error..."
Me.TelephoneNo.BorderColor = vbRed
Me.TelephoneNo.SetFocus
Exit Sub
Else
 
Is TelephoneNo dimmed as numeric??
 

Users who are viewing this thread

Back
Top Bottom