Sorry for the question,
perhaps it will have an easy solution, but I have not found it.
I would like to automatically display the fields of a form, and populate them with data from a dynamic table.
The code I wrote is not working.
Do I have to declare, the full name of the text box?
How can I declare the name of the field dynamically?
here is my code........
'begin script *******************************************
Load MyForm
With MyForm
For t = 1 To 40
field = "Text" & t 'Text1 - Text2 - Text3 ....... are the names of the text box in MyForm
.field.Visible = False
If MyArray(t) > "" Then
.field = MyArray(t)
.field.Visible = True
End If
Next t
.Show
End With
'end script ********************************************************************
thanks a lot, from acamarsv
Bookmarks