Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No Duplicates
Message
De
06/05/2010 09:11:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
01462570
Message ID:
01463401
Vues:
22
IT WORKED! you>all
well that was easier than what we did yesterday :P
>>
>>
>>Select zero
>>pnRec=0
>>pcname=zero.fname
>>set order to fName
>>Scan while not eof() && to make sure we're using our order (it's not really necessary)
>>         IF pcname=zero.fname
>>                     pnRec=m.pnrec+1
>>           Else 
>>                pnRec=1
>                  pcName = zero.fName
>>           Endif
>>         Replace IDfield with pnRec
>>Endscan
>>
>>
>>but looking at it,im not seeing where pcname is being incremented unless the scan will do it
>
>I made two corrections in the code above, but yes, that's exactly right.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform