May 13, 2011 at 4:50 am
Hey.
For some reason the tab ascii character (CHR(9)) is not working when the report is run through internet explorer. However it does work when I view it through visual studio. Does anyway know why this may be and how to rectify it?
Thanks
Dave
May 13, 2011 at 6:22 am
browsers ignore whitespace...tabs, CrLf and more than one space in a row; that's part of the html definition
if you need to visualize whitespace, you'll need to html-ize the results...either by substituting CHAR(160), which is a high ascii for a space that html doesn't ignore, or replaces spaces with the html non breaking space &nbsp ;
personally i'm fond of doing it in the SQL and using REPLACE(ColName,' ',CHAR(160)); a tab/CHAR(9) would typically be four char(160) characters
Lowell
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply