Show record on the main form related on the sub form.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello
please help me.
I want a main form and sub form that related with a same field. Each record
on the main form, have the several record on the sub form. I want see that
record on the main form by clicking the related recrord on the sub form.
Example:
Main form feilds: StuffName , StuffModel , ... (One StuffModel)
Subform fields: StuffModel , TotalInStock, StockLimit , ... (Several
StuffModel)
Related feild: StuffName

Thanks
Amir_J
 
I'm a bit confused. From you description, it sounds like [StuffModel] is
the common field between main form and sub-form. And it sounds like your
main form displays information related to [StuffName], so how would you see
having it also display a specific [StuffModel]'s information?

Another approach might be to use a tab control on a main form, and within
one of the tabs have a subform than displays information about a chosen
[StuffModel]...

--
Regards

Jeff Boyce
www.InformationFutures.net

Microsoft Office/Access MVP


Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/
 
[StuffName] is a field of sub-form also, but dont show on the sub-form.
sub-form record source is from a query.

Jeff Boyce said:
I'm a bit confused. From you description, it sounds like [StuffModel] is
the common field between main form and sub-form. And it sounds like your
main form displays information related to [StuffName], so how would you see
having it also display a specific [StuffModel]'s information?

Another approach might be to use a tab control on a main form, and within
one of the tabs have a subform than displays information about a chosen
[StuffModel]...

--
Regards

Jeff Boyce
www.InformationFutures.net

Microsoft Office/Access MVP


Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/

Amir_J said:
Hello
please help me.
I want a main form and sub form that related with a same field. Each record
on the main form, have the several record on the sub form. I want see that
record on the main form by clicking the related recrord on the sub form.
Example:
Main form feilds: StuffName , StuffModel , ... (One StuffModel)
Subform fields: StuffModel , TotalInStock, StockLimit , ... (Several
StuffModel)
Related feild: StuffName

Thanks
Amir_J
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top