>>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!