473,569 Members | 2,552 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

multiple tables - combine data - export to excel

Hi,

I have a 3 table database.

1 parent
1 child
1 child of child

I would like to get the data into excel as 1 sheet (similar to a
grouped report).

ex:
Row parent data
Row(s) associated child data
Row(s) associated child of child

etc......

I am relatively new to access and am using 'The Missing Manual' (which
I really like), but I'm stuck.

Thank you for your help.
David

Aug 6 '07 #1
3 9680

"yovation" <yo******@gmail .comwrote in message
news:11******** *************@e 16g2000pri.goog legroups.com...
Hi,

I have a 3 table database.

1 parent
1 child
1 child of child

I would like to get the data into excel as 1 sheet (similar to a
grouped report).
The simplest way to get something from Access into Excel similar to a
grouped Report is (perhaps not surprisingly) create a grouped Report, then
Export that to Excel. That is, let Access do the work for you.

You can

* create the Query on which to base the Report using the Query Builder,
then
create the Report using the Wizard, then
* modify the design to remove everything from the Report Header, Page
Header, and Page Footer, then
* Preview the Report, then
* File | Export, and choose Excel from the Save As options.

The Excel sheet will still have the Field Names as column headings, even
though they aren't visible on the Report, but it's easy to delete that row
from the Excel sheet if you don't want it.

Larry Linson
Microsoft Access MVP
Aug 6 '07 #2
Larry,

I created the report with no problem. (not using the Query). When I
preview the report, the option to export as Excel Spreadsheet is not
available.

Will using the Query to create the report make the difference?

* create the Query on which to base the Report using the Query Builder,
then
create the Report using the Wizard, then
* modify the design to remove everything from the Report Header, Page
Header, and Page Footer, then
* Preview the Report, then
* File | Export, and choose Excel from the Save As options.

The Excel sheet will still have the Field Names as column headings, even
though they aren't visible on the Report, but it's easy to delete that row
from the Excel sheet if you don't want it.

Larry Linson
Microsoft Access MVP
Aug 6 '07 #3

Thank you Larry,

Turns out my report isn't displaying all the data the way I need it
to. So I'm going to have to take a step back and figure that out
before I export.

* create the Query on which to base the Report using the Query Builder,
then
create the Report using the Wizard, then
* modify the design to remove everything from the Report Header, Page
Header, and Page Footer, then
* Preview the Report, then
* File | Export, and choose Excel from the Save As options.

The Excel sheet will still have the Field Names as column headings, even
though they aren't visible on the Report, but it's easy to delete that row
from the Excel sheet if you don't want it.

Larry Linson
Microsoft Access MVP

Aug 6 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1648
by: glenn | last post by:
I'm really scratching my head over this one. I'm working with CSV data exported from Excel, which explains why it's a mess to begin with. Within a table (or via any other means someone might be able to recommend) I need to combine multiple records which share two like fields. (If that's not clear, the real-world explanation is below.) ...
4
14761
by: Paolo | last post by:
Friends, I need help with some code to export different tables to a single spreadsheet in Excel. My excel file is named REPORT and the spreadsheet is named CLIENTS. I do have the code to export a single table to Excel but have problems with multimple tables. Thanks.
2
3464
by: Regnab | last post by:
I've got my code working so that it'll count the number of columns in the table and move across (eg Range A-P and then range Q-W). Problem is when I get to the end of the single letters and get into AA etc. Have got an idea of how I could do it by using Chr() and having an ongoing counter which is divided by 26 when it goes past Z to work out...
8
22186
by: Mark Welch | last post by:
I am at a complete loss on how to do this. I am using Microsoft Access 2000, to implement a preliminary version of a reasonably modest relational database. I have two Access Tables (imported from MS Excel spreadsheets), and I need to somehow get the data for a "Person_ID" brought over from one to the other. In Table_A, there are many...
1
9762
by: smaczylo | last post by:
Hello, I've recently been asked to work with Microsoft Access, and while I feel quite comfortable with Excel, I'm at a complete loss with databases. If someone could help me with this issue I'm having I'd be most appreciative. The database is already constructed, I'm just wanting to export the data to an excel file. In short, I'm hoping...
2
5549
by: hal | last post by:
Hello all, I've been searching all day for an article or tutorial on how to get data from a SQL Server 2000 database and export the data to excel 2003 so that multiple worksheets are created, and information is displayed in these worksheets. Data will be coming from multiple tables, and I'm using C# and asp.net 2.0. User will click on an...
4
8858
by: dreaken667 | last post by:
I have a MySQL database containing 16 tables of data. Each table has a different number of columns and there are few common field names accross tables. I do have one master table with which I connect the tables together with various queries using a unique id. My task is to generate reports from these tables dynamically. The user will select the...
2
4547
by: danorourke99 | last post by:
Hi, In my Access database I have a table (dbo_000_DataCubeProcessing) which contains a list of tables that I need to export to Excel on a regular basis along with a checkbox for each. Once I select the relevant table via checkbox, I have VBA code written which will pick this table and can export to a pre-defined location on my network in Excel...
2
4321
by: kashif73 | last post by:
Hi, I want to export data from 4 Access tables to Excel using VBA. The user selects 2 different DATES from the form & based on DATEs criteria all record from 4 tables should be extracted to excel. I can extract data from Table 1 to excel, which has the DATE field. But other 3 tables doesn't have this DATE field. I was wondering how can I get...
0
7625
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7935
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7992
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6313
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5519
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5244
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3666
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1235
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
969
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.