splitchard
Technical User
Hello,
I am trying to setup a type of Mail Merge report (formal letter) in Access 2003. I need to create a formal letter that pulls in the company name and address and also invoice #'s associated with that company. The problem is that some of these companies have one invoice # and some have 50 invoice #'s (and everything in between). How do I get the letter to automatically display as many invoice numbers as is necessary for each company name? Right now, I have an Access Report set to take variables from a Query which includes data from two Tables that have a one-to-many relationship (main table has company name and secondary table has invoice #'s) with each other. When I look at the Print Preview though, what I get is one invoice number for each company name, so therefore if I have 50 invoice numbers for one company I get 50 separate letters for that one company). Should I continue using the Query or is there a way to incorporate fields from two tables that are connected through a relationship (where one of the tables is a subdatasheet of the other main datasheet)? Thank you for any help that you can give!!
I am trying to setup a type of Mail Merge report (formal letter) in Access 2003. I need to create a formal letter that pulls in the company name and address and also invoice #'s associated with that company. The problem is that some of these companies have one invoice # and some have 50 invoice #'s (and everything in between). How do I get the letter to automatically display as many invoice numbers as is necessary for each company name? Right now, I have an Access Report set to take variables from a Query which includes data from two Tables that have a one-to-many relationship (main table has company name and secondary table has invoice #'s) with each other. When I look at the Print Preview though, what I get is one invoice number for each company name, so therefore if I have 50 invoice numbers for one company I get 50 separate letters for that one company). Should I continue using the Query or is there a way to incorporate fields from two tables that are connected through a relationship (where one of the tables is a subdatasheet of the other main datasheet)? Thank you for any help that you can give!!