473,385 Members | 2,274 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Exporting access report to Excel with all data

I have a report that I built in Access 2002. I built it with the report wizard, but then went into design mode and added a extra information which was calculations off the existing fields in the report (these calculated values are not pulled in the original query). So the report looks great and performs as expected, but when I export it to Excel I lose all of the extra fields that I added (and of course all of the formatting). All that it exports is what was originally created in report wizard. Is there any way to get the rest of the report, that I worked so hard on creating, over to Excel? After reading the previous posts on the limitations of the report export I'm expecting the worst but hoping for the best. Thanks.

Jeff
Oct 31 '07 #1
3 3206
nico5038
3,080 Expert 2GB
I wasn't aware that calculated fields aren't passed to the Excel formatted save 0f a report. That the formatting and drawings like lines, boxes, etc. are lost is a known fact.
You could try to lineup the calculated fields with the other exporting fields, as sometimes fields are "lost" when the export doesn't know where to place the result.

I must however admit that I always do calculations in the query, thus the totalling in grouplevels will always be possible. Why can't you "move" the calculations ?

Nic;o)
Nov 2 '07 #2
The calculations that I'm performing are somewhat complex and the intermediate steps are to be shown on the report. For example, in the detail section I have a row for each employee and the columns headings are days of the week with overtime hours worked on those days populating it. I can perform simple calculations like summing them up, and that will move over to excel, but not more complex calculations like finding out what percentage of all overtime for the week was worked on Tuesday. For that I have to divide one field by another, and access doesn't export those.

I tried moving the fields around to see if they were lost because of where they were located, but it didn't make a difference. For now, I just told the users that these reports are to look at and not to export to excel and manipulate. If they want something more (the reason for the manipulation in excel) they should tell me and I will add the fuctionality to the database. That seems to suffice for now, but I'm still bothered by the apparent limitation that access has placed on exporting data to a program in it's own family!!
Nov 10 '07 #3
nico5038
3,080 Expert 2GB
I concur with that :-)
The basic appproach I use is to use the "plain" query data and transport that to excel. The calculations are than added using the excel formula. When the number of rows is fized, then a template excelsheet can be used holding the calculations and using automation the cell ranges can be filled.

Nic;o)
Nov 10 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: sridevi | last post by:
Hello How to export data from ms-access database to excel worksheet using ASP. mainly i need to export data to multiple worksheets. it is very urgent to us. i have a sample code which works...
1
by: Alex | last post by:
Hi all, I've seen this noted in many posts, but nothing I've checked out gives me any clue on how to do this. Basically as my topic says, I have a DTS and I simply need to export some data...
4
by: D | last post by:
I've created a report with many subreports of aggregate data. I want my client to be able to export this data to Excel to make her charts, etc. Only one problem: one of the fields is a "SchoolYear"...
5
by: mik18 | last post by:
I'm having trouble with exporting reports to Word in the rtf format and I'm hoping someone has a solution. The reports are losing their formats. Not all the formating is lost but some is and of...
2
by: Mustufa Baig | last post by:
Hi everybody, I have an ASP.NET website where clients can view their monthly billings by selecting different options. One of the option is the way they want to see the report i.e. whether they...
1
by: Mustufa Baig | last post by:
I have an ASP.NET website where I am showing off crystal reports to users by exporting them to pdf format. Following is the code: ---------------- 1 Private Sub ExportReport() 2 Dim oStream...
4
by: deejayquai | last post by:
Hi First of all my level = basic! My question= I have a report containing student performance data with a sub-report showing the subjects they have taken that year. I run the report group by...
6
by: jpatchak | last post by:
Hi, I have kind of a strange problem. I have a report that I need to export to excel. The report opens fine in Access and when I export it or click on "Analyze It with Microsoft Office Excel," I...
2
by: nofear | last post by:
I used to export my reports as snapshot but now I have to export them to Excel When I export my report to a Excel Spreadsheet the report header and footer are not included Only the data gets...
3
by: jennwilson | last post by:
Access 2000 - I have developed a database that houses patient information. The patient information must be sent in an excel file to another company department. I know how to export my data to Excel...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.