Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about tableupdate()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00353312
Message ID:
00353349
Views:
19
>>If nRows is 1 (or .T.) and row buffering is enabled, only changes made to the current record in the table or cursor are committed.
>
>Ok... thank you. I didn't realize you could susbstitute .t. for 1.

Joe and John,

The information was a little incorrect. The T/F valeus for the first argument to TableUpdate() is backwards compatibility to VFP 3. In VFP 3 T for the first argument would update all records and F would only update the current record. This argument if VFP5 and 6 has been changed to 0, 1, or 2 to give better control over how multiple records will be updated.

I also strongly recommend that all arguments be used for tableupdate() so no confusion ever occurs as to which work area should be updated. In event driven applications it is very easy for the work areas to be changed on you, so depending that the current work area is the one you intend is questionable.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform