>I need to create a daily report with varying numbers of records in the detail band. What do I do to make the report fill the page with blank lines until the page summary, where I have a Total? We want this to look like a standard form was completed.
>
>Thank you in advance.
>
>/Steve
Steve,
I agree with Martin. In your program that calls the report, put the following code.
SELECT < your table >
SET ORDER TO < whatever index you want >
GOTO BOTTOM
lnLastRec = RECNO()
GOTO TOP
REPORT FORM < myreport > TO PRINTER PROMPT PREVIEW
Then, place your totals in the Page Footer and put the following expression in the Print When:
RECNO() = lnLastRec
That should do it.
Cathy