You could try rs.Fields("rev" & i).
But if you have multiple fields in a table which are so similar you want to
give them numbered names and treat them similarly, I'd suggest that you
consider normalizing your table design.
HTH
- Turtle
"Mike Blair" <bl*****@prodigy.net> wrote in message
news:49**************************@posting.google.c om...
I have a loop in a MS Access application of which I would like to
number the variables within the database as follows:
tbl
rev1
rev2
rev3...
I would like to do the following:
for i=1 to 20
rs![rev&i] = expression
next
The rs![rev&i] will not work??????
Please help!