How to fill array of textboxes with data from access database which has fields like 1,2,3,4,5,6, using FOR To Next statement.
Printable View
How to fill array of textboxes with data from access database which has fields like 1,2,3,4,5,6, using FOR To Next statement.
Code:
' do a count of textboxes if they are dynamic
For TxtLoop = 0 to (No_Of_TXTBoxes - 1)
TextBox(TxtLoop).Text = Str(TxtLoop + 1)
Next