Is it possible to call a user define object method or property by reference or alias?
As to why I'm doing this in access is a long story...
But -- what I need to do is to be able to call the value that is stored in either a user define type or object.
I know that I could use a collection, and then be able to reference by name/index. Or I could make the type or object members as objects with their own indexes. These routes are too much work.
example of what I would like to do:
given
Any help would be great! Thanks.
Randall Vollen
National City Bank Corp.
As to why I'm doing this in access is a long story...
But -- what I need to do is to be able to call the value that is stored in either a user define type or object.
I know that I could use a collection, and then be able to reference by name/index. Or I could make the type or object members as objects with their own indexes. These routes are too much work.
example of what I would like to do:
given
Code:
dim o as clsMyObject
o.ID = 15
debug.print o(0)
debug.print o("ID")
Any help would be great! Thanks.
Randall Vollen
National City Bank Corp.