Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default two fields to the same value
Message
 
À
14/01/1999 02:41:19
Fida Shamsoodeen
Combined Systems (Pty) Ltd
Centurion, Afrique du Sud
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00175796
Message ID:
00176296
Vues:
34
In addition to the previous messages, you can use GetFldState() to determine if a record is new or not. Also, you could put the code to update the hidden variable in your SAVE button (or method) instead of in a Valid(), InteractiveChange() or LostFocus(). This way it would be updated even if the visible field was not updated.

HTH
Barbara

>Can anyone please help!!!!
>I have generated a form using the wizard. My problem is I have
>two numeric fields. I want the second field to be hidden on the
>form, and when I Enter something in the first field I want the
>value of that field to be stored in the second field as well but
>only when i create a new record, NOT when I am editing it.
>
>Any suggestions
>
>Thanks
>Fida Shamsoodeen
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform