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
Excel - 'Excel.Application' is not defined.
Shell batch file and return values
Backup individual files and folders using Windows 2008 Server Backup
VB.net program fails when run from a network drive
Convert hyperlinks from '=HYPERLINK()' to 'embedded' links
Should I use .NET Visual, ASP.NET, Silverlight, WCF and what database?
Excel 2007: Use SUMPRODUCT in a pivot table
Compile Error: Variable not defined
Validate bound field
set Focus in a GridView