Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Export MS Access Report to Excel but blank footer data

Posted on 2012-03-22
7
Medium Priority
?
974 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 2000 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
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 

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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

If you’re using QODBC to update QuickBooks data from Microsoft® Access but Access is not showing the updated data, you could have set up QODBC incorrectly.
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
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…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

916 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