Hi,
I have an array of text boxes (50 of them) I would like to, instead of having to type each one in loop through them:
My current code is this:
With ObjRecMaster
.AddNew
.Fields(0) = txtFields(0).Text
.Fields(1) = txtFields(1).Text
............
.update
End with
How could I just get loop through each .field and txtfield instead of typing up 50+ lines of code???
thanks
brendan
I have an array of text boxes (50 of them) I would like to, instead of having to type each one in loop through them:
My current code is this:
With ObjRecMaster
.AddNew
.Fields(0) = txtFields(0).Text
.Fields(1) = txtFields(1).Text
............
.update
End with
How could I just get loop through each .field and txtfield instead of typing up 50+ lines of code???
thanks
brendan