N
Neo
Hello all,
I am new to VBA. I have a concern. I have a mainform and it contains
a subform.The subform contains 12 textboxes associated with their
label. Each text box is associated to a field of the table. I have to
add a new record to the table. The user has to enter the values in the
appropriate text boxes. When they click a command button called
"update"(this control is in the mainform"), the text boxes values will
be updated to the Table. similarly when the user searches for a
particular record and click Search button(this control is in the main
form), the record values should be displayed in the appropriate text
boxes.
I wrote a code to add a new record when the text boxes were in the main
form..But now i dont know how to get the values from the
textboxes,since they are in subform.
Can anyone help me , how to process the values from the Subform's
textboxes ??
Thanks in advance
Neo
I am new to VBA. I have a concern. I have a mainform and it contains
a subform.The subform contains 12 textboxes associated with their
label. Each text box is associated to a field of the table. I have to
add a new record to the table. The user has to enter the values in the
appropriate text boxes. When they click a command button called
"update"(this control is in the mainform"), the text boxes values will
be updated to the Table. similarly when the user searches for a
particular record and click Search button(this control is in the main
form), the record values should be displayed in the appropriate text
boxes.
I wrote a code to add a new record when the text boxes were in the main
form..But now i dont know how to get the values from the
textboxes,since they are in subform.
Can anyone help me , how to process the values from the Subform's
textboxes ??
Thanks in advance
Neo