In access I have a form with a bunch of text boxes that I'm going to fill using code. they are named cost1, cost2, etc..<br><br>in vb code I want to be able to do this like this:<br><br> If rst!cost <> "Me!cost*i* Then<br> Me!cost*i* = rst!cost<br> rst.MoveNext<br> i = i + 1<br>the stars around the i are there to show you the part thats incorrect.<br>something along those lines..anyway, all I need to know is how to combine the Me!cost and the i integer into something that increments. So I'll get Me!cost1 Me!cost2..etc every time the i variable is increased...thanks in advance!