Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Destroy and Unload
Message
From
11/11/2008 07:34:59
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01360872
Message ID:
01361054
Views:
20
>>>Jay,
>>>
>>>the problem is TABLEUPDATE(.T.)
>>>
>>>This will update the current record only, return True, but other records will be uncommitted.
>>>IOW
>>>
>>>SELECT Covr
>>>IF CURSORGETPROP( 'Buffering' )>1 AND !TABLEUPDATE( .T. ,.T.)
>>>	TABLEREVERT( .T. )
>>>ENDIF 
>>>
>>>
>>>Agnes
>>
>>Agnes,
>>
>>I think calling tableupdate() with the first parameter set to TRUE and table buffering updates ALL records
>>
>>The second parameter is for lForce
>>
>>imo TableUpdate(.f.) will only update the current record
>
>Ok, I think you're right :) So, even one great catch turned out to be not so great :)
>
>Kidding, I should have checked parameters myself.

I confess to testing prior to answering - who can trust the help file nowadays especially since it is the helpfile of vfp9sp2 ...
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform