Information générale
Catégorie:
Gestionnaire d'écran & Écrans
The add and the save button are the same. The caption of the button is changed whenever the status of the form change (edditing/viewing).
You can add your validation routine in the add/save button click() event, checking the state of the propriety that indicate the status of the form prior to that.
HTH
>I'm currently self studying Visual Foxpro and i created a single entry form via wizard and my problem is I can't edit the save command button, when i run the form and I add a record the add command button will become save button, I want to add some validation during saving but i can't find the save button when I'm editing the form. In Foxpro 2.6 for DOS a cleanup where you can add some validation and you can generate the source code is this also possible in VFP? If so how?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement