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

Blank line Inserted - I don't like it

I have a problem with blank line inserted. Please help!
This is how my SQL report looks like

ACCEPT vf CHAR PROMPT "Vrsta fakture: "
ACCEPT fk CHAR PROMPT "Faktura: "

SET PAGES 72
set NEWPAGE 1
SET VERIFY OFF
SET TERMOUT OFF
set space 1

SET LINESIZE 80
CLEAR BREAKS COMPUTES

COL C00 FORMAT 999 HEADING 'POZ'
COL C01 FORMAT A7 HEADING 'Sifra' TRUNC
COL C02 FORMAT A3 HEADING 'EM' TRUNC
COL C03 FORMAT 99999.99 HEADING 'Kolicina'
COL C04 FORMAT A9 HEADING 'Cena'
COL C05 FORMAT A20 HEADING 'Ime blaga' word_wrap
COL C06 FORMAT A12 HEADING 'Znesek'
COL C07 FORMAT A3 HEADING 'Rab' TRUNC
COL C08 FORMAT 99 HEADING 'P'

CLEAR BREAKS COMPUTES

COLUMN CLEAR

SPOOL FK02.lis

SELECT PFA.POZICIJA_FAKTURE C08
,rownum C00
,PFA.SIFRA_POZICIJE C01
,PFA.OPIS C05
,PFA.KOLICINA C03
,PFA.FOR_ENME_ENOTA C02
,to_char(PFA.CENA,decode(sign(PFA.CENA-10000),'-1','9999.99','999999')) C04
,TO_CHAR(PFA.VREDNOST,'99999999.99') C06
,PFA.PRIPDA_DFA_SIFRA C07
FROM POZICIJE_FAKTUR PFA
WHERE PFA.FKT_STEVILKA_RACUNA = '&fk'
AND PFA.vrsta = '&vf';

SPOOL OFF

HOST qprt -P lp4:lp4 FK02.lis

EXIT
and returns:

1 1 0300205 ALU-RAVNILO 100CM,Z 200.00 788.95
MM-SKALO BRE
(*)
2 2 0300102 ALU RAVN.S SK 1500.00 593.07
50CM,Z ROČ.

Can you help me, why that blank line (*) is inserted.

I 'd report like this
1 1 0300205 ALU-RAVNILO 100CM,Z 200.00 788.95
MM-SKALO BRE
2 2 0300102 ALU RAVN.S SK 1500.00 593.07
50CM,Z ROČ.
Thank you very much.
Jul 19 '05 #1
3 3800

SET RECSEP OFF

;)

PS: What is COLUMN CLEAR?


--
Posted via http://dbforums.com
Jul 19 '05 #2
With COLUMN CLEAR I wanted to clear all column definitions.
Must be remarked.
Thx,M
Jul 19 '05 #3

TO clear all column definitions use:

CLEAR COL

But watch out!!!, you have positioned this statement BEFORE your
report...

Set the statement before the col ... for ... definitions (and/or after
the report).

:cool:
--
Posted via http://dbforums.com
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mark Davenport | last post by:
Hi, Here's my question: How do I pass a NULL value in a variable to a MySQL DB? Here's an overview of my problem: I have a PHP page that processes code, then inserts the code into a database....
12
by: dan glenn | last post by:
Hi. I'm finding that if I have text entered into a <textarea ...> </textarea> in a form, and that text has leading blank lines (with no spaces or anything else), that when I retrieve the entered...
7
by: John | last post by:
How do I prevent blank data from being entered into a table? For instance, the user fills out a form, but if a field is left blank, then the entire entry won't be filled in. This isn't...
6
by: Ruben | last post by:
Hello. I am trying to read a small text file using the readline statement. I can only read the first 2 records from the file. It stops at the blank lines or at lines with only spaces. I have a...
5
by: George B | last post by:
Is it possible to use headers (H1, H2, H3 etc) but without a blank line being inserted after them ? For example, at the moment the html I have written gives me.... THIS IS THE HEADER This...
3
by: Jim | last post by:
When output from inside a loop <xsl:for-each select="Comment"> <br><xsl:value-of select="Line" /></br> </xsl:for-each> A blank line is inserted between each line, when I remove the <br> then...
4
by: Robert McClenon | last post by:
I am having a minor but annoying problem with some reports in Access 2003. (I had the same problem with Access 97, so it isn't version-dependent.) Some of the reports that I originally developed...
1
by: satya.mahesh | last post by:
Hi All, I am working on a problem which "eliminates blank lines in export (between headings and when a heading is empty)". I want a macro which will do this job for me. For e.g: Heading1 ...
3
by: Miran Kopmajer | last post by:
I have a problem with blank line inserted. Please help! This is how my SQL report looks like ACCEPT vf CHAR PROMPT "Vrsta fakture: " ACCEPT fk CHAR PROMPT...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.