Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with SCAN...ENDSCAN
Message
 
To
03/11/1998 19:44:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00153935
Message ID:
00154296
Views:
20
Right. Every situation requires its own thought and its own solution. Also, a REPLACE FOR can be quite slow (justifiably) on a large table.

Thanks for the input.

Joe

>Be aware that REPLACE FOR or WHILE will lock the table, while the SCAN ... REPLACE ... ENDSCAN lock only the current record. In this case, being a cursor, it doesn't matter so much.
>
>Vlad
>
>>You can use the REPLACE...FOR command, or REPLACE...WHILE command and do this with a lot fewer lines. You can replace many fields with one REPLACE.
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Previous
Reply
Map
View

Click here to load this message in the networking platform