Hey
Is it possible to check for the following
My form has 7 sets of textboxes on 7 different lines
so
line 1 has id1, device1, serial1, model1...up to 7th box
line 2 has id2, device2, serial2, model2...up to 7th box
I have some values to input into these box sets automatically but I need a way for access to check and see which set is null to enter information into. The trick is, if set1 is not null then the code should check set 2 to see if null and so on and so forth till it finds an empty set to input data into.
There will always be at least one set of boxes available to input this captured information into.
I have been toying with the idea of declaring 7 different arrays each with 7 elements along the lines of.
then declare another array txt2find(7)
'and so on till I get to
My first question is does this seem tedious or can anyone suggest an easy way to get access to check which array contains null values so I can run my code to populate those textboxes when it finds the empty set, else it should skip to the next set till it finds one empty?
Please let me know if this needs more clarification.
Is it possible to check for the following
My form has 7 sets of textboxes on 7 different lines
so
line 1 has id1, device1, serial1, model1...up to 7th box
line 2 has id2, device2, serial2, model2...up to 7th box
I have some values to input into these box sets automatically but I need a way for access to check and see which set is null to enter information into. The trick is, if set1 is not null then the code should check set 2 to see if null and so on and so forth till it finds an empty set to input data into.
There will always be at least one set of boxes available to input this captured information into.
I have been toying with the idea of declaring 7 different arrays each with 7 elements along the lines of.
Code:
dim txt1find(7) as textbox
txt1find(1) = id1
txt1find(2) = device1
txt1find(3) = serial1...
Code:
dim txt2find(7) as textbox
txt2find(1) = id2
txt2find(2) = device2
dim txt3find(7) as textbox
Code:
dim txt7find(7) as textbox
Please let me know if this needs more clarification.