Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp - adding a record...
Message
De
14/02/1997 16:29:03
 
 
À
14/02/1997 16:22:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Groupes d'usagers
Divers
Thread ID:
00020602
Message ID:
00020627
Vues:
55
>>>>When a user enters data there is no new record yet! So, he can stop any time he wants. When he finished the entry and click 'Save' he will really create new record and fill it by one INSERT command. In VFP we don't need in specific variables, any control has some appropriate properties, mostly Value property, to store and check user-entry activity temporarily.
>>>
>>>Ed...that answer is great...
>>>
>>>Now we are getting close to what I am looking for. What code do I put
>>>in the "Click event" of the "add a record" button. I must show blank fields for the user
>>>to add???
>>>
>>>Thanks
>>>
>>>Rob
>>
>>Yes. You can invoke new form with empty (filled by default values) controls or just 'clean' edit form.
>
>How do you do that???
>Rob

You have to go through all controls changing Value properties. Normally your form could include some custom method to refill controls by default values (for new record) or by record values (to edit existing record).
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform