From: Papa Jonah on 15 Mar 2010 19:43 I have a database with multiple tables that are populated with a form with subforms. Basically I have Table A with a record ID field that has a one to many relationship with two other tables (Table B and Table C). I am trying to run a query (for a report) that will show the record ID (and other fields) from Table A with each of the many corresponding fields from the other two tables. But I don't want the info from Table A showing up repeatedly in my report - just once. How can this be done? TIA Papa J
From: Jeff Boyce on 15 Mar 2010 19:49 First do the query, and don't worry about 'repeating' data. Then create your report based on the query. In report design view, use the Grouping & Sorting to organize your report by those repeating fields. This way, you'll only show the value once per group. An alternate approach, depending on your data, is to include all fields, but set the properties of those that repeat to hide any duplicates. Good luck! Regards Jeff Boyce Microsoft Access MVP -- Disclaimer: This author may have received products and services mentioned in this post. Mention and/or description of a product or service herein does not constitute endorsement thereof. Any code or pseudocode included in this post is offered "as is", with no guarantee as to suitability. You can thank the FTC of the USA for making this disclaimer possible/necessary. "Papa Jonah" <PapaJonah(a)discussions.microsoft.com> wrote in message news:A77E77C8-9900-4427-BFFE-E260584170FC(a)microsoft.com... >I have a database with multiple tables that are populated with a form with > subforms. > > Basically I have Table A with a record ID field that has a one to many > relationship with two other tables (Table B and Table C). > > I am trying to run a query (for a report) that will show the record ID > (and > other fields) from Table A with each of the many corresponding fields from > the other two tables. But I don't want the info from Table A showing up > repeatedly in my report - just once. > How can this be done? > > TIA > Papa J
From: Krzysztof Naworyta on 16 Mar 2010 08:19 Use subreports with seperated querys -- KN Jeff Boyce wrote: | First do the query, and don't worry about 'repeating' data. | | Then create your report based on the query. In report design view, | use the Grouping & Sorting to organize your report by those repeating | fields. This way, you'll only show the value once per group. | | An alternate approach, depending on your data, is to include all | fields, but set the properties of those that repeat to hide any | duplicates. | | Good luck! | | Regards | | Jeff Boyce | Microsoft Access MVP | | | "Papa Jonah" <PapaJonah(a)discussions.microsoft.com> wrote in message | news:A77E77C8-9900-4427-BFFE-E260584170FC(a)microsoft.com... || I have a database with multiple tables that are populated with a || form with subforms. || || Basically I have Table A with a record ID field that has a one to || many relationship with two other tables (Table B and Table C). || || I am trying to run a query (for a report) that will show the record || ID (and || other fields) from Table A with each of the many corresponding || fields from the other two tables. But I don't want the info from || Table A showing up repeatedly in my report - just once. || How can this be done? || || TIA || Papa J
|
Pages: 1 Prev: Update Query Next: Identify Missing Time Ranges and create a record to account for it |