Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about REPLACE FOR in VFP6.0
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00453190
Message ID:
00453206
Views:
17
>However, is your FOR expression Rushmore optimizable? It seems to me that in the dark recesses of my (admittedly swiss-cheese) memory, I recall that if it is, and you're updating only one field in a single table, VFP does *not* lock the header.

No, VFP locks the table header regardless. It's just that if the expression is optimized, the header is not locked for nearly as long.


Gavin- Update SQL is probably the best way to go here, but alternatively, you can use

SCAN FOR Whatever
REPLACE
ENDSCAN
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform