|
-
Oct 16th, 2000, 03:13 PM
#1
Thread Starter
New Member
OK...Here goes...
I have a series of COM objects that represent a data structure. I'll use a CAR object as an example...
The CAR object has references to numerous other objects...the ENGINE object, the TRANSMISSION object, etc...each containing the properties of that object. From the EXE, I can set each of these object's properties as follows...
car.engine.size = "5.0"
car.engine.miles = 23000
The problem come up when I have a many to 1 relationship, such as the TIRES object. Each instance of the CAR object has multiple instances of the TIRES object. I can't figure out how to get data into the TIRES object's properties. I have tried using both an ARRAY of TIRES objects and a COLLECTION of TIRES objects within the CARS object, but I can't seem to get data into the TIRES object from the EXE without passing in a seperate instance of the TIRES object from the EXE into the CAR object...
I have probably confused everyone more than I have explained my situation, but if ANYONE has ANY insight into this problem, PLEASE let me know...
Thanks in advance,
John Schuetz
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|