Hi,
I have created a form where I would like to validate the information entered in the input box is a specific format.
The format I am trying to confirm is that it is fixed, i.e. "[FONT="]Display at least one digit to the left and two digits to the right of the decimal separator."[/FONT]
Here is what I have written, but it doesn't seem to work;
If Not Format(TargetDiameter, "Fixed") Then
Call TargetDiameterShowError("Incorrect Format!")
Cancel = True
End If
Please would you be able to help?
Thanks
I have created a form where I would like to validate the information entered in the input box is a specific format.
The format I am trying to confirm is that it is fixed, i.e. "[FONT="]Display at least one digit to the left and two digits to the right of the decimal separator."[/FONT]
Here is what I have written, but it doesn't seem to work;
If Not Format(TargetDiameter, "Fixed") Then
Call TargetDiameterShowError("Incorrect Format!")
Cancel = True
End If
Please would you be able to help?
Thanks