Home » Developer & Programmer » Reports & Discoverer » Printing tab character (Oracle Reports, 6i, Windows)
|
|
|
|
|
|
|
|
|
Re: Printing tab character [message #653405 is a reply to message #653397] |
Mon, 04 July 2016 15:00   |
 |
Littlefoot
Messages: 21824 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
Right; screenshot suggests Arial or Tahoma or similar proportional font. I'm not saying that Hashmi should try to find number of spaces which would look exactly as a TAB character. It would be OK if he sets, say, 10 Arial spaces at the beginning of each paragraph. These 10 spaces would still be 10 spaces in the second paragraph as well as in the third etc.
So, LF, don't be lazy, if you can't explain it with words, *show* it. So here you go: I created a table with two columns:create table test
(par number,
text varchar2(4000)); and inserted 3 paragraphs. Then I created a report whose query looks like this:select
par || ')' || lpad(' ', 10) || text value
from test
order by par As you can see, I concatenated 10 spaces. The result:

See the yellow markings? Indentation is just the same, and I didn't use non-proportional font (such as Courier). If I did, the result would still be the same (although - obviously - looking differently):

I believe it doesn't really matter whether indentation equals 0.8 cm or 1.3 cm. If it does, you'd have to try several options until you find the closest one.
I hope I managed to make the point. If not, oh well, I can't do any better, sorry.
P.S. TAB doesn't work for me either (Oracle 11g, Reports Builder 10g).
|
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sun Jun 01 02:58:10 CDT 2025
|