Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Easier than Scan...EndScan?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00368731
Message ID:
00369162
Vues:
18
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform