How populate continuous form with related records

I have a form that is a continuous form.  The form has a combobox that the user can select from.  If the user selects a record that has related records then I want to continuous form to automatically populate additional records with those related records in addition to the record they selected in the combobox.

The form's record source is tblLineItems.  Then tblLineItems is "linked" to tblLineItemsAddlComponents.  So if the user selects record #6 for example in the main form, I want the records in tblLineItemsAddlComponents that relate to #6 to populate the form.

The tables are setup in Database Tools > Relationships properly.

Can this be done?
SteveL13Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jeffrey CoachmanMIS LiasonCommented:
I am confused here...
You want related (child) records to appear on a continuous main form?

Why not just use a main/subform?
SteveL13Author Commented:
Because the main form will have records that DO have related records and other records that DO NOT have related records.  Confusing I realize.  But if there are related records I want the form to be populated with those related records automatically.
John TsioumprisSoftware & Systems EngineerCommented:
Although it seems "simple" something in the description is a bit confusing...Can you give a sample or a screenshot...
If it is not the "easy" case with linked forms/subforms then a solution is a recordset that will populate the controls according to recordset field names....
Rey Obrero (Capricorn1)Commented:
i think it will be better to create another subform that will display the additional information.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SteveL13Author Commented:
I resolved the situation by creating an update query that adds the records to the form/table.  But now I have a new issue and will post a new topic titled, "How refresh sub-form after update via a combobox?"
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.