If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Response.Contenttype with Excel/IE -> removing zero's (o) from column ??

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-28-04, 03:28
Mirador Mirador is offline
Registered User
 
Join Date: Jan 2004
Location: Oslo
Posts: 45
Response.Contenttype with Excel/IE -> removing zero's (o) from column ??

hey and thanx for reading my post..
hmm. i'm using "Response.Contenttype="application/vnd.ms-excel" to display a recordset in Excel (inside IE).

Only problem left is that (annoying) Excel are automatically removing the Zero's (0's) in a column which displays social security number. Anyone know a work-around ?

Terje.
__________________
Best regards
Mirador
Reply With Quote
  #2 (permalink)  
Old 07-28-04, 20:49
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
is it leading zeroes that it is removing?? if so I would recommend writting the SSN out with single quotes around it. This way excel will treat it like a text value and not a numeric value
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On