Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Writing to a table from a command button
Message
From
16/01/2006 13:08:42
 
 
To
16/01/2006 12:50:26
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01087232
Message ID:
01087247
Views:
12
Thanks Mike - This appears to be the territory I was noodling in. I'll continue.

>>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")
I ain't skeert of nuttin eh?
Yikes! What was that?
Previous
Reply
Map
View

Click here to load this message in the networking platform