Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp - adding a record...
Message
De
14/02/1997 16:14:04
 
 
À
14/02/1997 16:03:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Groupes d'usagers
Divers
Thread ID:
00020602
Message ID:
00020624
Vues:
46
>>>Scatter is pretty old command and basically shouldn't be used for VFP. There are different approaches for Edit form design. My point is that a user enters data (e.g. into textboxes) and then pressing button he/she fires INSERT-SQL which creates new record. What's happened If your user will change his mind? Probably, he will have to delete this record.
>>
>>Ed...
>>There must be a way to create memory vars and not insert a record in the dbf, in case a user changes is mind in the middle of things. What if the user wants to abort the new record before his save it????
>>
>>Rob
>
>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
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform