isaac.livingston
New member
- Joined
- Dec 2, 2008
- Messages
- 3
- Programming Experience
- 5-10
Good Day... I hope this finds you well...
I am very much at a loss in trying to resolve a bug that I have in my code, which is quite extensive; here is the issue in a nut shell...
I have created several collections for a Database front end application I am developing, and I have nested them. The primary Class is my Document Class, wich has a collection of Item Classes in it.
The problem that I am having is when I run two or more instances of the class, the items that are added to the first class are also being added to the second. I start each proceedure by decalring a new class instance of Document, which creates a new Collection Instance of my Items Collections.
I don't understand why each class seems to be sharing the Item Collection, even though they are declared independantly from one another, and instanced with the New keyword...
If anyone can help me shed some light on this, I would appreciate it.
I am very much at a loss in trying to resolve a bug that I have in my code, which is quite extensive; here is the issue in a nut shell...
I have created several collections for a Database front end application I am developing, and I have nested them. The primary Class is my Document Class, wich has a collection of Item Classes in it.
The problem that I am having is when I run two or more instances of the class, the items that are added to the first class are also being added to the second. I start each proceedure by decalring a new class instance of Document, which creates a new Collection Instance of my Items Collections.
I don't understand why each class seems to be sharing the Item Collection, even though they are declared independantly from one another, and instanced with the New keyword...
If anyone can help me shed some light on this, I would appreciate it.