In VFP report writer, I need a cover page generated if the invoice goes more then 1 page. How do I do this?

In VFP report writer, I need a cover page generated if the client's invoice goes more then 1 page.  
Of course the cover page must come before the actual invoice and contain the amount due.  

How do I do this using  VFP Ver 9 latest patch?
Peter H.Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pcelbaCommented:
Let suppose you know the number of pages in advance. Then you may define two reports - one you have already and a new one containing the Title band where you may put everything you need.

If you don't know the number of output pages in advance then it is more work, OTOH you can have just one report having Title band of variable length. I've tested it with this field in the Title band:

IIF(_PAGETOTAL>1, REPLICATE(CHR(13)+CHR(10), 80), "")

which says "If the total number of pages is greater than 1 print 80 empty lines in the title band" thus the report itself starts on the second page.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
FoxPro

From novice to tech pro — start learning today.