Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Nested scans
Message
De
05/02/2009 11:04:03
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
01379375
Message ID:
01379526
Vues:
28
>I haven't been successful in employing nested scans,
>
>select a
>scan for !deleted()
>m.lcA = a.Data
>select b
>scan for b.data = lcA
>store something
>endscan
>select a
>endscan
>
>As you can see this doesn't work the way I expect. It seems to "skip" or "Ignore" records.


Hi

If you want to place inner scans then you should use 'scan while' rather then 'scan for'
Assuming that there is active relation between 'a' and 'b' on that q.data field

HTH
Sergio
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform