473,503 Members | 3,739 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to add mailing addresses to an invoice report

77 New Member
I have to prepare invoice statements to send to my clients. From my invoices query, I was able to generate the invoices as a report.

However, I want to add two types of mailing addresses to this invoice report: "From" mailing address (my company's mailing address) and a "To" mailing address (the recipient's mailing address).

I have created a Clients table which contains the company's mailing address details. There is a separate ClientContacts table which contains the primary contact name and the secondary contact name (along with their email addresses) for the respective company. On the ClientContacts table, the ClientID is the foreign key which is linked to the Clients table. On the Invoice table, the ClientID is the foreign key which is linked to the Clients table.

My problem is how to incorporate this information on the invoice report.

Previously, but I added the clients and client contacts fields to the query and I noticed that the invoice data had doubled. As an example, the primary contact person was linked to an invoice A on one line item, and then the secondary contact person was linked to same invoice A data on the next line. Is this what is expected to happen?

I wanted the mailing addresses to appear in the page header of the report and the invoice data to appear in the detail section of the report.

What I have done is to create an unbounded text box on the invoice report and manually type in this information. Is there a way to add my company mailing address as a "From" mailing address and the recipient's mailing address as a "To" mailing address on the report automatically?
Nov 21 '14 #1
1 1025
twinnyfo
3,653 Recognized Expert Moderator Specialist
Previously, but I added the clients and client contacts fields to the query and I noticed that the invoice data had doubled. As an example, the primary contact person was linked to an invoice A on one line item, and then the secondary contact person was linked to same invoice A data on the next line. Is this what is expected to happen?
This will happen in your queries when you have two contacts associated with that Client.

If you want just the address, add just the address information from the Client Table. If you must use the contacts, then have a separate query that lists only the contacts, and add this information in a Subreport on your main report. Use the Client ID to link the Sub report to the main report in Master Child relationship.

For your mailing address, you can perform similar actions.
Nov 24 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
1701
by: Jay Villa | last post by:
I want to store multiple mailaddress like home address and shipping address Sometimes addresses will be more than two. I am thinking about storing the details as a dictionary object. Any other...
2
2825
by: (Pete Cresswell) | last post by:
For better or worse, I have chosen to implement mailing addresses in a particular application as a separate table. One Person ==> Many Addresses. It is a database for managing school reunions...
1
2770
by: Khaled Atta | last post by:
Hi everybody I am new to C# I am making some new small business solutions (Real Estate System) So I needed to generate lots of reports in this System I have made a new windows control to help me...
0
807
by: Brad Allison | last post by:
Sorry to be a nuisance since I am learning, but I have yet another question. Is there a way to e-mail a Crystal Report that was generated from my VB .Net application? I want to do this by using...
4
5015
by: lawazia | last post by:
I am doing a project in which I have to create INVOICE reports I am using VB6 and Active reports. I am facing problem while creating a multipage invoice report. If the invoice report generated...
4
4744
by: mikeDA | last post by:
I have an invoice report in Access. I have three invoices. I want to force a page break after each invoice# so I end up with three invoices, each with a header (invoice# date etc.), detail (items...
1
1004
by: =?Utf-8?B?THVib21pcg==?= | last post by:
Hi, What would be the best approache to create an invoice report? What I would like to know is, how to make all that graphics with "irregular" tables. Thanks, Lubomir
5
1837
by: eyalco | last post by:
I've created an invoice form which generates a report. I've also created a form in which the user defines how many copies he wants to print with the original (with a loop to the number of copies...
6
1680
by: ebasshead | last post by:
Hi Everybody, Firstly thank you for all the help this site has given me over the past year in getting my database to hum, its been awesome. I'm currently building an itemised invoice report to...
1
1501
by: Mari Scheetz | last post by:
I have an Access database used for inventory control, printing customer invoices, statements, etc. I just transferred it to a Windows 7 pc and now the Invoice report will not print correctly on the...
0
7192
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7064
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7261
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7315
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6974
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5559
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4991
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1492
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
369
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.