Solved

Access 2010 combining tables into 1 for exporting

Posted on 2014-02-12
2
197 Views
Last Modified: 2014-02-13
I have multiple tables with a Customer in common.  I would like to combine the different tables into a Main table, with Customer data all on the same line.

DAILY PAYMENTS
Customer
PaymentReceivedDate
Payment Amount Date

DAILY BILLING
Customer
Billing Address
Shipping Address

DAILY ORDERS
Customer
ProductNumber
OrderDate
ShippingDate
ReceivedDate
0
Comment
Question by:NNiicckk
2 Comments
 
LVL 10

Accepted Solution

by:
Gozreh earned 500 total points
ID: 39853627
Do you have in all tables all customer you want to export ?

Why not create query
SELECT [DAILY BILLING].Customer, [DAILY PAYMENTS].PaymentReceivedDate, [DAILY PAYMENTS].[Payment Amount Date], [DAILY BILLING].[Billing Address], [DAILY BILLING].[Shipping Address], [DAILY ORDERS].ProductNumber, [DAILY ORDERS].OrderDate, [DAILY ORDERS].ShippingDate, [DAILY ORDERS].ReceivedDate
FROM [DAILY PAYMENTS] INNER JOIN ([DAILY BILLING] INNER JOIN [DAILY ORDERS] ON [DAILY BILLING].Customer = [DAILY ORDERS].Customer) ON [DAILY PAYMENTS].Customer = [DAILY ORDERS].Customer;

Open in new window

then export it.
0
 

Author Closing Comment

by:NNiicckk
ID: 39856447
Thanks
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Suggested Solutions

PL/SQL can be a very powerful tool for working directly with database tables. Being able to loop will allow you to perform more complex operations, but can be a little tricky to write correctly. This article will provide examples of basic loops alon…
Composite queries are used to retrieve the results from joining multiple queries after applying any filters. UNION, INTERSECT, MINUS, and UNION ALL are some of the operators used to get certain desired results.​
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now