
How do I use contents of variable as field name(db!rst!variable)
When I try to use a variable to hold changing field names in a loop
(fieldname1,fieldname2,etc.)
VBA returns a error message that it cannot
locate the column with the name (myvariable). How do I make it read the
contents of the variable instead of the variable name itself ?
Thanks