H
Heath P. Dillon
I have a class that I have created that represents a real world
object..(such as 'car')
With this one clsCar I want to create many actually objCar as they are all
the same.
Dim objCar as new clsCar
Each clsCar has a property call VIN, which identifies each car object.
Since I have created many clsCar from this clsCar, how do I in code update a
cars properties.
For example if the objcar that has a vin = 2123 is now sold, I want to
update just that objCar to be objCar.Sold = True
I would figure I first have to reference the specifc objCar for that car, so
I have to find the right objCar (where .vin = 2123) and then update it..
Is my logic poor with this approach?
Thanks for any feedback and ideas......
object..(such as 'car')
With this one clsCar I want to create many actually objCar as they are all
the same.
Dim objCar as new clsCar
Each clsCar has a property call VIN, which identifies each car object.
Since I have created many clsCar from this clsCar, how do I in code update a
cars properties.
For example if the objcar that has a vin = 2123 is now sold, I want to
update just that objCar to be objCar.Sold = True
I would figure I first have to reference the specifc objCar for that car, so
I have to find the right objCar (where .vin = 2123) and then update it..
Is my logic poor with this approach?
Thanks for any feedback and ideas......