473,323 Members | 1,551 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,323 software developers and data experts.

Problem when Report is Exported to Excel

manoj9849967222
Hi All

I need a urgent help. I have a report in which one of the cloumn is "Productid"

My report looks like this

Productid Qty

1.3.2------------------------500
1.4.5-----------------------600

Now when i export the report to excel the productid column gets automatically converted to number.

Could any one tell me what is the problem.


Regards
Manoj
Sep 30 '07 #1
3 1090
nico5038
3,080 Expert 2GB
Excel will assume that the field is numeric.
You can use in your query a concatenation with a space to prevent this like:

select " " & ID,

Nic;o)
Sep 30 '07 #2
Hi Nico

I have used the SQl given by you. But now it asks for the parameter asking me to enter the product id. I have 100 of productid & i want them all in a single report.

Can this be avoided

Regards
Manoj
Sep 30 '07 #3
nico5038
3,080 Expert 2GB
The parameter request is because you entered the fieldname incorrect, Access doesn't recognize it as a tablefield, try:

[Productid]

Nic;o)
Sep 30 '07 #4

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

Similar topics

3
by: Spacy | last post by:
Am creating a HTML Report in asp.net. To save this report to excel on client-side, i write this code: Response.ContentType = "application/vnd.ms-excel" Response.AddHeader("content-disposition",...
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...
2
by: Pinku | last post by:
Hello guy, I have a problem with Crystal Report. In my report I would use a box with rounded corner, so i put it into the designer and all works fine, but, when i try to export the report to...
1
by: arnabit | last post by:
Hi, I have a problem with excel 2007. I have gridview where a report result is being shown when the report are exported it is saved in an excel file. In excel 2003 it is working fine .But in...
2
by: Dhananjay | last post by:
Hi all , I have got problem when i am tring to exportGridview Data into Excel format. It is going into text format ,but what i want is if the field is number/currency then it should go into...
1
by: mitchbooks | last post by:
I have a .net application that uses Crystal Reports to display reports. When a report is exported to Excel the number fields are transposed to text in Excel requiring the users to format any number...
1
by: brent78 | last post by:
I'm trying to export an access report to excel and have run into a problem. One of my fields is a text field and when it is exported to excel some of the data values show up correctly and some are...
4
by: Sep410 | last post by:
Hi all, I have a report in crystal report when I export it to excel each column will be shown in 2 or 3 merged columns!!! The worst part is that sometimes the header of the column is in the A...
0
by: shalskedar | last post by:
The grandtotal in Access REport is not matching with the total in Excel, when this report is exported from Access to Excel..... Can i get the solution for this
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.