O
Oliverm
Dear All
The name of my form is "form1". It contains two input fields:
"field_1" and "field_2".
For both files I'd like to have the same action, done in function
"TextFieldName".
Function SetTextField(TextFieldName As String)
form1.<<Name_of_Field_n>>.Font = 0
End Function
What is the syntax to pass a string as a form-name-object?
Kind regards
Oliver
I've been trying with:
- form1("TextFieldName").font = ...
- form1.Item("TextFieldName").font = ...
- form1.Index("TextFieldName").font = ...
... with no luck...
The name of my form is "form1". It contains two input fields:
"field_1" and "field_2".
For both files I'd like to have the same action, done in function
"TextFieldName".
Function SetTextField(TextFieldName As String)
form1.<<Name_of_Field_n>>.Font = 0
End Function
What is the syntax to pass a string as a form-name-object?
Kind regards
Oliver
I've been trying with:
- form1("TextFieldName").font = ...
- form1.Item("TextFieldName").font = ...
- form1.Index("TextFieldName").font = ...
... with no luck...