General discussion

Locked

Access Forms in XP

By LF King ·
Field in database requires Vehicle VIN#'s - want a message to pop up on the form for that field to ask if the data is correct if under 17 characters.

The field is a maximum of 17 digits, but depending on the type of vehicle it could be less.

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by piratetoolz In reply to Access Forms in XP

for the On Exit property of the text box, assign an event and code it like this:

'Compare the length of text in the control. test is what i called my textbox.
__________________________________________________
If Len(test.text)< 17 then msgbox "Whoa there buddy, are you sure that VIN# is correct?"
__________________________________________________
You could of course change the message box to meet your needs (with yes or no responses). I hope this helps.

Collapse -

by LF King In reply to

Poster rated this answer.

Collapse -

by LF King In reply to Access Forms in XP

This question was closed by the author

Back to Software Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums