Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FPD25 - REPLACE ... WHILE ... is ALL reqd.
Message
 
À
06/03/2003 05:42:30
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00761380
Message ID:
00762576
Vues:
40
Thanks Hilmar for following up on this query. REST and w/o REST it should work the same, wouldn't it? The index is set for id.

>>Without ALL it randomly misses to REPLACE the logical value with .T., though the percentage is very low 2% say. But as the records are not registered=.t. they get deleted next time round (my logic) messing up the whole data integrity.
>>
>>
SEEK m.id
>>REPLACE dbf.registered WITH .T. WHILE dbf.id = m.id
>> ...
>
>I was forgetting: the logical keyword in this case would be REST instead of ALL. That means, "from this point on, until the end of the file (or until the WHILE condition fails)".
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform