Print Thread
leading zero
#32482 11/12/04 08:39 PM
Joined: Aug 2004
Posts: 9
Croatia
D
Member
OP Offline
Member
D
Joined: Aug 2004
Posts: 9
Croatia
How can I get leading zero when I'm exporting to MS Excel?
I have query like this one:

select '01234'
from dual

In preview I see 01234 but in MS Excel value is 1234. Zero is somehow lost. I tried with CSV and through Get external data in MS Excel and everything is fine. The problem is only when I'm exporting directly to the MS Excel.

Is there some workaround for this? If not can you do something in your OLE (I suppose that you are using OLE to do export to MS Excel ?)

I'm using QueryReporter 2.0.4.180, MS Excel 2000 (9.0.3821 SR-1), W2000 SP4.

Thanks,

Davor.

Re: leading zero
#32483 11/15/04 08:35 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
This is currently not possible, Excel will always try to interpret the data. In the next release character data will not be interpreted by Excel though.


Marco Kalter
Allround Automations
Re: leading zero
#32484 11/18/04 09:12 PM
Joined: Aug 2004
Posts: 9
Croatia
D
Member
OP Offline
Member
D
Joined: Aug 2004
Posts: 9
Croatia
If I understand you correctly the new release will not have the feature that the old release alredy has. If this is true, can you send me the prerelease?

Re: leading zero
#32485 11/19/04 08:33 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
You can download a pre-release here .


Marco Kalter
Allround Automations
Re: leading zero
#32486 11/22/04 01:48 PM
Joined: Aug 2004
Posts: 9
Croatia
D
Member
OP Offline
Member
D
Joined: Aug 2004
Posts: 9
Croatia
Thanks.
It works fine. I'll use this pre-release version.
I have noticed that you significantly improved MS Excel exporting. Now it is much faster.

Davor.


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.027s Queries: 13 (0.007s) Memory: 2.5155 MB (Peak: 3.0426 MB) Data Comp: Off Server Time: 2024-05-17 10:39:32 UTC
Valid HTML 5 and Valid CSS