Solved

Export MS Access Report to Excel but blank footer data

Posted on 2012-03-22
7
883 Views
Last Modified: 2012-03-24
Hello,

 I have a simple access report that displays financial data by account number. It has account number, account name and a total.  I am grouping  and summing  by account number.  It works great.    My client wants to have a version  that exports into excel.  I thought it would be a simple matter of using the export feature in excel. However, the account number and name, in the summary section  do not display in the export to excel.  I can export it to text and see the data.

I must be missing something very simple. Or is this a classic “Microsoft slap upside the head” where something that should be simple is not.

The report is very simple. I have attached two screen shots.  I added a detail line just for testing. I only want the summary level by account.

Office 2010 for both access and excel.

Thank you,
access.JPG
excel.JPG
0
Comment
Question by:Epistrophy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 37754160
Exporting Access Reports to Excel, ...has never been, nor will it ever be, ...Perfect.

In your report make *sure* that all the controls associated with a field are the exact same size and are all aligned together.

FWIW the report in the attached DB exports to Excel fine for me...
Database102.mdb
0
 

Author Comment

by:Epistrophy
ID: 37754343
boag2000,

Thanks for the reply. The problem is the detail section. I only want the summary.  I took your sample and deleted  the detail section, saved, ran and exported.  I get blanks now. It seems that the export only works if there is a detail section.  

I also, edited your report and copied the account name and account number fields to the summary level. Saved, ran and exported and the sum shows up but not the account name or number.

Perhaps it is not possible to export a report that only summarizes data



 I am thinking I might just do a make table query and export that instead.
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 37754443
Then AFAICT, you really don't even need a report, you can just create a "Summary" query (Group By query) and simply export that to Excel...

Or you can still create a Report from the new summary Query (if you need a Grand Total), only no grouping would be needed in the report

Modified sample attached
Database102.mdb
0
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 

Author Comment

by:Epistrophy
ID: 37754490
boag2000,

 I like it. I trying to do it all in one report but I think I will make a separate summary query the client can run just for the export.  I will give it a shot with the real data.

Thanks.
0
 

Author Comment

by:Epistrophy
ID: 37760760
Boag2000,

 I followed your advice.  I left the original report the way it is since it is formatted for printing. I made a new query with the grouping in the query. I used that query in a new report stripped of the formatting for export.

Thank you

Epistrophy
0
 

Author Closing Comment

by:Epistrophy
ID: 37760763
Thank you
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 37760821
;-)
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

630 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