Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Field Validations VS Validation Procedure
Message
From
17/04/1998 11:23:43
 
 
To
16/04/1998 15:15:38
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00092654
Message ID:
00092895
Views:
21
A quick scenario ...

How about having Add/Save command button and
Edit/Reject command button

require to set EditMode .F./.T. as appropriate and then in click of Add/Save =>

*< Add/save button >*
IF !This.NavBar.EditMode
*< Adding >*
DODEFAULT()
ELSE
*< Saving > Or call save procedure *
IF EMPTY(Thisform.frmMaintenance.Page1.bctContainer1.txtCode.Value)
Messagebox("Enter a country code.",0+16+0,E_COMPANYNAME_LOC)
Thisform.frmMaintenance.Page1.bctContainer1.txtCode.SetFocus()
RETURN .F.
ENDIF

regards Ian


DODEFAULT()
ENDIF
Previous
Reply
Map
View

Click here to load this message in the networking platform