Well ...

March 30, 2004 by Leith Van Diemen

Hi Sarah. All you really need to do is add a varable or variables  that will allow you to be able to name your text boxes, and the update the variable while you move through the record set. So that when you then update the database you can you the same kind of loop to create the info needed to update the database.

Fo example you can create four variables in you case all will a number appened to the end so you will end up with

TextOne1, TextTwo1, Textthree1, TextFour1 .... Then you add one to a counter ( a seperate variable, and then next time in the loop you will have another set of names to use  TextOne2, TextTwo2, Textthree2, TextFour2

You now have a way to reference you text boxes and create the SQL string to update you database. You do this in the same way. Make a loop with a counter and increament it then adding the new information to the string each time. If you want a more detailed explaination just reply to this thread and I will help out.

Leith