Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OO Design Question and recursion question?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
OO Design Question and recursion question?
Divers
Thread ID:
00266441
Message ID:
00266441
Vues:
52
I am doing a project that requires a bill of materials for a part. In the subassembly for that part, can be raw material, labor, subcontract, or another part with possible nested subassemblies.
My question is with the design, should I create a subassembly class with a link to the parent Part # and links to all the items in the subassembly, or should I do something else? I have thought about the children having a pointer to the parent, but the problem would be that a part could be in more than 1 bill of materials or more than 1 subassembly for a bill of materials (like nails or screws).

Second, how well does VFP6 handle recursion with objects? I had done a similar project in VFP5 that was not OO and I had to be real carefull with doing recursion so not to crash out VFP.
Thanks
Derek Agar
Acctware Business Systems
derekagar@acctware.com
ICQ: 42332100

***********************
When in trouble call 911

He that dwelleth in the secret place
of the most High shall abide under
the shadow of the Almighty.
Psalm 91:1
***********************
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform