Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Export MS Access Report to Excel but blank footer data

Posted on 2012-03-22
7
Medium Priority
?
935 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 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

719 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