Home > Archive > Getting Started with dBASE > October 2006 > odd printing









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author odd printing
dlit

2006-10-25, 7:23 am

If trying to print straight with set print on, list off substr(fld1,10),subs
tr(fld2,1,15) etc... I get an odd result in the sense that empty fields take wider space on the paper than the space allocated to them by the conditions of the command (e.g. 1,10)

It was not the case under dbIV
Dom
John Marshall

2006-10-25, 7:23 am


I had issues with the move to dB+ and the introduction of "Null" in place of empty fields. I have now gotten in the habit of initializing all fields. This is particularly problematics in numerical funtions like SUM.

JM


dlit Wrote:

> If trying to print straight with set print on, list off substr(fld1,10),subs
tr(fld2,1,15) etc... I get an odd result in the sense that empty fields take wider space on the paper than the space allocated to them by the conditions of the command (e.g. 1,1

0)
> It was not the case under dbIV
> Dom


dlit

2006-10-25, 7:23 am

Thanks for advice. One of the problem with these added null and empty properties is that for instance even eof() fits them which might lead to errors. One more unexpected trap in new db.
An automatic function enabling to initialize them would be convenient.
Dom

John Marshall Wrote:

>
> I had issues with the move to dB+ and the introduction of "Null" in place of empty fields. I have now gotten in the habit of initializing all fields. This is particularly problematics in numerical funtions like SUM.
>
> JM
>
>
> dlit Wrote:
>
,10)[color=darkred]
>


Ivar B. Jessen

2006-10-25, 7:23 am

On Fri, 20 Oct 2006 11:59:11 -0400, in dbase.getting-started,
Subject: odd printing,
Message-ID: <ArK3uCG9GHA.1136@news-server>,
dlit <dlitl@wanadoo.fr> wrote:

>If trying to print straight with set print on, list off substr(fld1,10),subs
tr(fld2,1,15) etc... I get an odd result in the sense that empty fields take wider space on the paper than the space allocated to them by the conditions of the command (e.g. 1,10

)

Try: set print on; list off substr(new string(fld1),10), ....


Ivar B. Jessen
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com