473,473 Members | 1,893 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Exporting Report - No file created

76 New Member
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 get the dialog that says it's exporting page n of total to file such and such. I get no error message. However, no Excel file is created.

I've tracked down the problem to one of my fields on the report. It is a field called "ExpectedRate," with the control source of the "ExpectedRate" field on the query (format: Currency) on which this report is based. If I remove this field, exporting works as expected. Has anyone seen this before?

I know that I can get around this using ADO and OLE commands, but I'd rather not put in the time doing that. I don't need it to look fancy - I just want the data showing in my report to show in Excel so I can use it in another program.

Thanks,
Josh
Jan 24 '07 #1
6 2162
NeoPa
32,556 Recognized Expert Moderator MVP
I'm afraid that doesn't ring any bells with me Josh.
Without knowing any details it's hard to dig deeper.
Jan 24 '07 #2
MMcCarthy
14,534 Recognized Expert Moderator MVP
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 get the dialog that says it's exporting page n of total to file such and such. I get no error message. However, no Excel file is created.

I've tracked down the problem to one of my fields on the report. It is a field called "ExpectedRate," with the control source of the "ExpectedRate" field on the query (format: Currency) on which this report is based. If I remove this field, exporting works as expected. Has anyone seen this before?

I know that I can get around this using ADO and OLE commands, but I'd rather not put in the time doing that. I don't need it to look fancy - I just want the data showing in my report to show in Excel so I can use it in another program.

Thanks,
Josh
Try changing the format of the field from currancy to double. Does this make any difference?
Jan 24 '07 #3
MMcCarthy
14,534 Recognized Expert Moderator MVP
Just had a thought. Is your report based on a query and does the query run OK outside of the report. If so can you export the query to excel?
Jan 24 '07 #4
nico5038
3,080 Recognized Expert Specialist
I've had some trouble with numbers when the Regional settings (Start/settings/Control panel...) were having a decimal separator like "." and for currencies "," or the other way around. I guess you might check their settings.

Nic;o)
Jan 25 '07 #5
jpatchak
76 New Member
Just an FYI, the report was based on a SQL Server view - linked using ODBC. This means that Access was treating the view/query as a linked table. It was running fine in the table. I changed the control source on my report to
=CDbl(ExpectedRate) and now it works fine. thanks.
Feb 2 '07 #6
MMcCarthy
14,534 Recognized Expert Moderator MVP
Just an FYI, the report was based on a SQL Server view - linked using ODBC. This means that Access was treating the view/query as a linked table. It was running fine in the table. I changed the control source on my report to
=CDbl(ExpectedRate) and now it works fine. thanks.
Thanks for posting the solution. It may be helpful to other members.

Mary
Feb 3 '07 #7

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

Similar topics

5
by: Jayjay | last post by:
Is it possible to export a report to word and have it include the graphics that are in the report? I'd like to take some of our reports and export them to word so we can email those to the...
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"...
0
by: Stephan Golux | last post by:
Hello. I am using an access 97 application that exports a report to RTF format, which is subsequently emailed to various people. The main informational field in the report is a free form memo...
11
by: PC Datasheet | last post by:
AccessXP in 2000 mode. I am running a procedure using Application.ExportXML. The XML file begins with: <?xml version="1.0" encoding="UTF-8" ?> - <dataroot...
0
by: lra | last post by:
I am exporting my report to an html file using Crystal Reports. I have set the following properties: htmlOpts.HTMLBaseFolderName = @"C:\Temp\"; htmlOpts.HTMLFileName = "MyTest.html"; My file...
1
by: Lasso | last post by:
Hi all, Im having problem in exporting pdf file from crystal report. Now I already can show the crystal report but error when exporting. this is my code: Dim myReport As USERReport = New...
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...
0
by: David Dvali | last post by:
Hello. I have some strange problem and will be very thankful if anybody will help me to solve it. In my ASP.NET web form I have used CrystalReport to produce some report, now I want to export...
1
by: mailjaneen | last post by:
Hello, can someone help me. I want to display some fields on a report in print preview (i.e. instructions), that I don't want to print to the printer or export to file. I can't seem to find any...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.