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!

Will Using the TAB key bypass a Valid of a GET Field?

Status
Not open for further replies.

SSDESIGN

Programmer
Joined
May 11, 2003
Messages
71
Location
US
I'm using a GET field for an invoice number. If zero followed by a RETURN, a new invoice is created; if a number is entered followed by a RETURN, the invoice with that number is located. The valid checks the content of the GET and takes the appreciate action. I have heard that using the TAB key on the GET field will result in bypassing the valid. I've been unable to find confirmation of this...
Any suggestions would be appreciated...

 
I just found which may be the answer - A VALID clause is always executed when you exit the GET region unless you press Escape. I'll test this next...
 
Yes, you are correct. Any time you leave the GET the VALID is tested, unless you use the Escape key.
Which also means using the arrow keys will test the VALID, as well as Enter or Tab.


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Oh, well... Best plans of mice and men....
I now check with a lastkey of a TAB (9) and if present, RETURN true.
Thanks....
 
But it can be bypassed with the mouse, if it is multi field form (More than 1 GET)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top