Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Destroy and Unload
Message
 
 
To
11/11/2008 07:31:03
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:
01361053
Views:
11
>>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.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform