Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Validate field

Status
Not open for further replies.

lbonsemb

Technical User
Joined
Dec 1, 2001
Messages
4
Location
US
I have a field that has the following format wxy-z (all of which are numbers). I need that after the user inputs data into it this condition is met: z= MOD ((w*2+x*3+y*4)/11). If this condition is not met an error message box pops up.
I couldn't validate this field within the field properties box (I am not saying it cannot be done). I guess this has to be done through code. Please give me a hand.

Thanks,

Luis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top