S
Shelby
Hi,
if I have :
rs.Fields("firstname").Value = "John"
rs.Fields("middlename").Value = "D"
rs.Fields("lastname").Value = "Paul"
Is it possible to Dim the column name and make it a variable and reassign
the value to this new variable? Because I have a long list of the above, and
I wish to loop thru it, instead of assigning it one by one.
So I hope to achieve:
while not rs.eof
firstname = "John"
.....
.....
end while
Is it possible?
if I have :
rs.Fields("firstname").Value = "John"
rs.Fields("middlename").Value = "D"
rs.Fields("lastname").Value = "Paul"
Is it possible to Dim the column name and make it a variable and reassign
the value to this new variable? Because I have a long list of the above, and
I wish to loop thru it, instead of assigning it one by one.
So I hope to achieve:
while not rs.eof
firstname = "John"
.....
.....
end while
Is it possible?