Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Buffering
Message
 
To
06/02/2007 14:05:04
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01191514
Message ID:
01192940
Views:
6
>>>Also, when the user edits the grid I need something to cause the new value to be saved back into the cursor and the source table. (This is my original problem.) What would that be?
>>>
>>>- btw Thanks for your help here.
>>>
>
>Borislav -
>
>Thanks for your help on this cursor adapter thing. The suggestions you provided seem to work fine except I think I need a command in the grid AfterRowColumnChange that will cause the edit to be sent back to the source files. I've read the docs but its not clear what that should be, cursor update, record update?
>


TableUpdate()


>Also, it looks like there may be a way to cause it to be automatic so a specific call would not be needed and it would edit as though the source table were in the grid. Is that correct?
>
>- Don

No, working with CA or Views you need to call Explicit TableUpdate() when you want to Update records. This is of course if you have Table Buffering. If you have Row Buffering the updates are sent back when record pointer change its value.
I am not sure, because I always use Table Buffering, what will happen if you close CA or View if you made some changes in the record and then CLOSE that CA (View) w/o changing record pointer. Is that changes will be saved or they will be lost. not sure?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform