X of Y
Jeff Harrison
jeffaharrison at yahoo.com
Thu Oct 13 13:20:15 PDT 2005
--- Gary Olman <garyolman1 at hvc.rr.com> wrote:
> Yes I am using remove unwanted lines and I am not
> using the Print command. I
> have been using you formula, but have had problems
> with the subtotal area at
> the bottom of the invoice, because if I put a
> variable note in it the form
> gets longer. One approach was to use @lc , another
> idea was to use @pn and
> reset it to zero at the end of a invoice. Of course
> FP doesn't allow this.
>
Gary, I hope you don't mind my replying to the list -
I want to make sure everyone is aware how smart I am
:-)
Right, you will need to keep track of the page numbers
yourself if you want to reset them. Since you have
some variable length pages, then I would think that
the best way to do this would be to do two passes as I
mentioned before.
First I would create a temporary filepro file that
contains 2 fields - Invoice #, and # of pages. Then
at the start of your process I would do a
$PFPROG/fp/ddir filename -k on this file.
On the first pass (the one that goes to dev/null) at
the @wbrk that corresponds to the invoice number I
would write out the total number of pages and the
invoice number (make sure you use the write command to
ensure the write since you are using @wbrk
processing).
Then during the second pass these values should be
available to you.
Good Luck
Jeff Harrison
jeffaharrison at yahoo.com
Author of JHExport and JHImport. The easiest and
fastest ways to generate code for filePro exports and
imports.
__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
More information about the Filepro-list
mailing list