Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Veeery slooow replaaaces
Message
 
To
24/01/2001 14:31:10
Fausto Garcia
Independent Developer
Lima, Peru
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00467725
Message ID:
00468351
Views:
14
>>Hello,
>>I use VFP6 with remote views and row update. I have a logical field called lselected I need to reset from time to time putting it to .F. in all records.
>>When I use
>>REPLACE lSelected WITH .F. ALL
>>it starts to make the change really slow from 100 records to 200 records to 300...
>>I don't find out what the problem is.
>>Thank you,
>>Eduardo
>
>Hi Eduardo,
>
>Although I do not usually work with views I think there is no reason for that command to run so slowly. Maybe there is a problem with your network. Another reason I can think of is that the remote view is updating the physical table too -not only the view.
>
>I hope this ideas help. Greetings from Lima, Peru!

Have you tried :

REPLACE lSelected WITH .F. for lSelected = .T. ???

Sometimes, this will speed the process by not updating records that don't need to be updated.

HTH
CySolutions, Medical Information Technology
You're only as good as your last
success, so . . .If it works. . .don't fix it!
Previous
Reply
Map
View

Click here to load this message in the networking platform