Hi
I've got a form for Data Capture with loads of Text boxs with the same name, except with a different number at the end, oh and im using VB 2005
i.e.
txtName1 txtDOB1
txtName2 txtDOB2
... ...
I need to get all text boxes ending with "1" into a Row in my access database and all textboxes ending with "2" into another row, and so on...
What I want to know is there a way to do this without having to write a line of code for each text box?
Something like this (and i know this doesnt work):
For NUM = 1 to 11
tblUser.Row(ROW ).Item(1) = txtNameNUM
Next
I've got a form for Data Capture with loads of Text boxs with the same name, except with a different number at the end, oh and im using VB 2005
i.e.
txtName1 txtDOB1
txtName2 txtDOB2
... ...
I need to get all text boxes ending with "1" into a Row in my access database and all textboxes ending with "2" into another row, and so on...
What I want to know is there a way to do this without having to write a line of code for each text box?
Something like this (and i know this doesnt work):
For NUM = 1 to 11
tblUser.Row(ROW ).Item(1) = txtNameNUM
Next
Comment