G
Guest
Dear,
I have a mainform and a subform. The subform contains, say 100 textboxes.
I have been unsuccessful trying to assign value to textboxes programmically.
What I am trying to do is that I delibrately name those 100 textboxes in
numberic order, 1-100 in each Name property.
I am hoping this way, I do not have to type 100 textboxes names to assign
the value I retrieved from the database.
Any idea?
I have one hardcoded assignment statment that I was able to use for your
reference:
Forms!frmMainform!frmSub.Form.[3] = "3"
I just wasn't able to replace the [3] using a variable name instead of the
name of the object.
Thank you for your assistance.
Martin
I have a mainform and a subform. The subform contains, say 100 textboxes.
I have been unsuccessful trying to assign value to textboxes programmically.
What I am trying to do is that I delibrately name those 100 textboxes in
numberic order, 1-100 in each Name property.
I am hoping this way, I do not have to type 100 textboxes names to assign
the value I retrieved from the database.
Any idea?
I have one hardcoded assignment statment that I was able to use for your
reference:
Forms!frmMainform!frmSub.Form.[3] = "3"
I just wasn't able to replace the [3] using a variable name instead of the
name of the object.
Thank you for your assistance.
Martin