H
Howard
I have a main form with a record source of a customer
table. The form contains basic table fields including
Customer ID, Last Name, First Name, etc. This form
contains three sub forms which were established by
dragging and dropping those forms onto the main form and
letting Access do it's magic, according to previously
setup relationships. All went well. The sub-forms use the
Customer ID field as a record source as expected. As I
page through records on the main form (or use the record
selector bar), the main form displays the respective
fields and the sub-forms display the appropriate records.
Now I want the Customer ID field on the main form to be a
search field, so I changed it to a combo box and copied an
appropriate select statement to the record source for that
field.
If I use the drop box to select a record, the sub forms
display the appropriate records for the selected choice,
but the remaining fields on the main form, such as "Last
Name" and "First Name" do not change. They stay set with
values from the original record. What do I need to do to
the main form or the Customer ID field to get the main
form fields to reflect the selected record. Thanks!
-Howard
table. The form contains basic table fields including
Customer ID, Last Name, First Name, etc. This form
contains three sub forms which were established by
dragging and dropping those forms onto the main form and
letting Access do it's magic, according to previously
setup relationships. All went well. The sub-forms use the
Customer ID field as a record source as expected. As I
page through records on the main form (or use the record
selector bar), the main form displays the respective
fields and the sub-forms display the appropriate records.
Now I want the Customer ID field on the main form to be a
search field, so I changed it to a combo box and copied an
appropriate select statement to the record source for that
field.
If I use the drop box to select a record, the sub forms
display the appropriate records for the selected choice,
but the remaining fields on the main form, such as "Last
Name" and "First Name" do not change. They stay set with
values from the original record. What do I need to do to
the main form or the Customer ID field to get the main
form fields to reflect the selected record. Thanks!
-Howard