Microsoft
Software
Hardware
Network
Question : Fox 9 Validation routine
In my command button click event which exits a form ,I have placed a validation routine prior to the updatetable() command it goes something like this
if thisform.txtlast.value=" "
=messagebox("Fix Last Name")
return 0
Endif
This works fine. It would be better if after clicking ok on the message box if the user could be returned directly to the text box with the problem. How could that be done I played with the return command couldn't get that to do it and could not find anything in the help menus.
Thank You
D
Answer : Fox 9 Validation routine
IF EMPTY(Thisform.txtlast.Val
ue)
= MESSAGEBOX("Entering Last name is mandatory!").
Thisform.txtlast.SetFocus
ENDIF
Random Solutions
Mapping drives via script, setting the drives and subfolders for Offline Availability & clearing current Oflline Files Cache
Append csv text to table
Converting a Binary to a Varchar
Error Calling Stored Proc
How Can I Create a Unique Sequential Number for Only Those Records in a Table That Meet a Criteria
Printing via Terminal Services
Renumbering Primary key after delete
Trying to do report or query based on value in field. Using Access 2003
Slow Logon
Creating a memo field in an Access make-table query.