Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Field Validations VS Validation Procedure
Message
De
17/04/1998 11:23:43
 
 
À
16/04/1998 15:15:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00092654
Message ID:
00092895
Vues:
22
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform