Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TABLEUPDATE(2,.T.) leaves records that are not updated
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00500580
Message ID:
00500749
Vues:
31
>>That is not how you use GetNextModified.
>>local lnRecNo
>>lnRecNo = 0
>>lnRecNo = GetNextModified(lnRecNo, "MyTableAlias")
>>do while lnRecNo <> 0
>>   && do whatever update you need here
>>   lnRecNo = GetNextModified(lnRecNo, "MyTableAlias")
>>enddo
>
>Hi Mark,
>I believe what he coded will work if he does a TableUpdate(1) or TableRevert(.F.) on each hit.

Yes, if that was what he was doing. Somehow, I don't think that was the case. I was real confused because at one point he said he was using SPT [first reply to Hiten Kishor].
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform