Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
All Combinations of Group Members (challenging)
Message
 
 
À
08/09/2005 16:20:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01047849
Message ID:
01047860
Vues:
20
In other words, how do I want to implement FACTORIAL function in VFP (Actually, I don't know the correct match term in English for this, it's

_m
C
_n

I don't remember the math formula, though it should be simple. Let me try search in google.

>I kinda have these two (or more) collections or "groups". Each collection has the field names that contain the name and/or address and/or company.
>
>I'm wondering how I loop through these so that I can build a cursor with every possible combination of name+company+address, where there may be one or more of each name, company and address.
>
>I was thinking I could create separate cursors for each name, company, and address and do a full join for each, but how to generically loop through each to obtain every possible combination, even if another group gets added?
>
>Aloha,
>
>James
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform