Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Easier than Scan...EndScan?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00368731
Message ID:
00369162
Views:
17
Hi Todd,
>If I understood this correctly, the only way I can see to do it is by using two separate queries and union.
>
>Use the first query to get all the plans for the member. Use the second query to get the clm_amt for each member. Use union to join them in one cursor.
>
>At this point, I say the sql is as complicated as doing it via scan, and for purposes of maintainability I would go with a scan/endscan.

I don't see how the UNION would eliminate the duplicate Clm_Amts, (and I agree the Scan...EndScan seems more maintainable at this point) I just got a couple of ideas from Bret I'm going to try (and comment the heck out of if they work <G>)
Thanks.
Bill Armbrecht
VFP MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform