Output processing, lookups, and system calls

Kenneth Brody kenbrody at bestweb.net
Wed Aug 24 10:37:10 PDT 2005


Quoting John Esak (Wed, 24 Aug 2005 12:27:48 -0400):

> | I've been scratching my head wondering what would happen if a
> > PRINT command
> > | is encountered multiple times on a particular record. I want to
> > assume that
> > | it would be just like encountering it one time only.
> >
> > According to Laura's Help Files it prints every time it's encountered.
>
> Yes, I was so wrong... I don't know what I was thinking...

You were probably thinking of SELECT.

> it is the PRINT which is NOT available in *clerk. And as I look through
> my older processing, I see multiple PRINTS all over the place in output
> processes. But, what I was trying to say... if it matters now (Ken seems
> to be onto something that might be the problem...) was that using
> multiple PRINTS would not only print the format, but ALSO add the values
> from that record into filePro-kept subtotals and totals, wouldn't it?
> It is this that I think would give screwy (wrong) results.

If you place "=field" on an output format, then this will be the total
of all printed records.  If you print multiple times, the value is
included multiple times.  If you print it zero times, the value is not
included at all.  Using "=field", this is typically what you want, as
the total will match the output.

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list