Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing to a table from a command button
Message
De
16/01/2006 12:50:26
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
16/01/2006 12:31:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01087232
Message ID:
01087237
Vues:
16
>Using Cursorsetprop() and tableupdate I have not been able to figure out how to update a table with a preloaded value under a command button. I want to have a selection of sequencial dates, each with it's own command button. A user clicks and the date is written to a table. It seems as if it is such an easy task and yet I have had no success over the weekend. How about a hint?

*Set this up during form init.
CursorSetProp("Buffering",5,"thealias")

*Put this in the button
REPLACE field with value in thealias

*Put this in some save method called from a
*save button.
TableUpdate(.T.,.T.,"thealias")
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform