Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nested scans
Message
From
05/02/2009 11:04:03
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
01379375
Message ID:
01379526
Views:
27
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform