Solved

Export MS Access Report to Excel but blank footer data

Posted on 2012-03-22
7
754 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
  • 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

911 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

18 Experts available now in Live!

Get 1:1 Help Now