hi there...it's me again with another question....
I am using a control array of textboxes to enter data which is imported from another form...
What I need is basically a way to test for a null value in txtText(index)
if null i need to copy the data from each field into each txtText(index) with the same index
i.e.
If txtText(index).text=" " then
'copy data code which i already have wired
Else
index=index+1
endif
I've tried this problem a few different ways, and each time i get either an endless loop that does nothing, or it fills in all the txtText(index) with the same data....
Maybe i'm using the wrong loop structure....any suggestion would be great
I am using a control array of textboxes to enter data which is imported from another form...
What I need is basically a way to test for a null value in txtText(index)
if null i need to copy the data from each field into each txtText(index) with the same index
i.e.
If txtText(index).text=" " then
'copy data code which i already have wired
Else
index=index+1
endif
I've tried this problem a few different ways, and each time i get either an endless loop that does nothing, or it fills in all the txtText(index) with the same data....
Maybe i'm using the wrong loop structure....any suggestion would be great