One to Many Relationships and Subforms

dhersch

New Member
Joined
May 7, 2004
Messages
19
I have a main form which has subforms that are one to many relationships. I am trying to create reports off of this data and need to include information from the main form and also information from 2 or more subforms. I am having difficulty.

Should I be able to do this with one query or do I need multiple queries. I am basing the selected data off of an automated ID number. I am having no problems with extracting the main data, however when I add a subform and link it back to the query it is not giving me the correct results for that record. It is also prompting me for the "automated ID number" again for that subform. . . I think that I don't understand the logic of the one to many relationship when it comes to reporting. Can someone supply a high level way to accomplish this? Please help!! thanks.[/img]
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,221,805
Messages
6,162,074
Members
451,738
Latest member
gaseremad

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top