Hi,
actually it is not so much on the ADO problem.
I just use that as an example.
The main question is about the dynamic assigning of variables.
Another example would be:
--------------------------------------------
Public Structure MyUsers
Public firstname
Public middlename
.....
Public birthdate
' 20 Properties
Ens Structure
Dim prop1 as string = "firstname"
Dim prop2 as string = "birthdate"
Dim prop3 as string = "companyname"
..... and so on
I would like to have:
Dim objMyUsers as MyUsers
objMyUsers.prop1 = "John" ' So it's actually objMyUsers.firstname =
"John"
objMyUsers.prop2 = "1/5/1977" ' So it's actually objMyUsers.prop2 =
"1/5/1977"
Is it possible to do this?
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi Shelby
Are you sure that you are with this classic ADO question in the right
newsgroup.
Probably you need a newsgroup as
microsoft.public.data.ado
or one of the classic VB newsgroups
microsoft.public.vb*
I hope this helps?
Cor