Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report Footer data not exported to Excel

Status
Not open for further replies.

ruthcali

Programmer
Apr 27, 2000
470
US
I am using Access97.

I have a report with all the data in the report footer (the data is all Sums and Avgs--that is why i had to put it in the report footer section).

but, when i 'export data to excel', i end up with a blank Excel document.

does anyone know why my report footer data isn't printing in Excel?

Thanks,
Ruth
PS-When i try exporting to Word, it works fine. All my data is exported.
 
My solution was to build a custom routine that created various temporary tables that were then processed and formatted into a single report table. In my case, I had various footers, sub-reports, etc. that did not want to port to Excel and also required special formatting. The easiest solution was to build a single table that could be copied directly to Excel. It worked for me. htwh. Steve Steve Medvid
Atlas Commerce ("ebusiness evolved")
 
Hi,
thanks for writing. happy new year.

Steve Medvid: So you suggest taking all my data currently in my report footer, putting that data into a temp. table and then creating a new report based on the temp. table?
and that can all be done via code triggered by the Report Footer OnPrint event?

Steve Root: i tried exporting to Word in a .rft format. how can you import to Word in a .txt format?

thanks again for writing.
ruth
ruth.jonkman@wcom.com
 
My approach was to build a report table in the past that mirrored the Excel sheet. Essentially, a database that had the number of columns that were needed within the Excel sheet. Then each row of the database table would match what was needed in the Excel sheet. This would include the sub-totals which were extensive calculations for an environmental system. I then reduced the formatting, cell movement coding needed to format the Excel sheet via VBA code.

This was the best approach at the time for my specific needs. htwh. Steve M. Steve Medvid
Atlas Commerce ("ebusiness evolved")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top