Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with buffering
Message
From
27/05/2009 18:51:18
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01402365
Message ID:
01402367
Views:
63
No, I haven't .. but suppose it did. Would the changed records appear in the grid if the update failed? If so, that seems counter-intuitive.

BTW, what reasons might there be for an update failing? I do set the "Force" parameter to .T., FWIW

>Do you check TableUpdate(1 ...) return value to make sure that it didn't fail?
>
>>I'm having some odd problems, which I believe may be due to my use of buffering.
>>
>>I have a free table which a small number of people make updates to throughout the day. I use optimistic table buffering on the table, and use TableUpdate(1 ...) or TableRevert when the user clicks on "Save" or "Abandon" when working on a record
>>
>>I have gotten sporadic reports where a user makes modifications to a few of the records in the table (which he can then see in the grid), closes out of the form, and when he returns later, finds that the modifications he's made have disappeared.
>>
>>My guess is that somebody else was working on the table at the same time, and closed out of the form later, wiping out any changes made by the first person.
>>
>>Any ideas?
Jim Nelson
Newbury Park, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform