Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Veeery slooow replaaaces
Message
 
À
24/01/2001 14:31:10
Fausto Garcia
Independent Developer
Lima, Pérou
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00467725
Message ID:
00468351
Vues:
13
>>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!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform