The reporting engine for VFP requires something to work from, so if you have an empty (no records) table VFP will generally just 'flash' and generate nothing.
The trick is to use a table with one record - and no data
as your basis - that is the table that is the 'initially selected' one.
Then when you run the report you will get a 'blank' one.
You might have a few zeros (from numerics) and a few // from dates though!
Good luck
Regards
Griff
Keep [Smile]ing
There are 10 kinds of people in the world, those who understand binary and those who don't.
Do you mean you want a completely blank page in the middle of the report - a page without even any headers or footers?
Or do you just want a page with all the normall headers etc but no data? Or perhaps you mean you want to force a page break at some arbitary point?
If you want a completely blank page in an otherwise normal report, one way would be to insert a dummy record at the appropriate point in the underlying table. Then, in all fields and expressions in the report, set the Print When to suppress printing when that record is reached.
For the second option, you could try Griff's suggestion.
To force a page break, use the New Page option in the group properties.
If none of the above answers your needs, perhaps you could clarify your requirements.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
"I want to create a new page out of existing pages..." - What ???
You either want to cause a page eject so that you can create a new page when some characteristic of your data changes.
Data Printed On Page1
Data Printed On Page1
Data Printed On Page1
* --- Eject and Begin New Page ---
Data Printed On Page2
Data Printed On Page2
Data Printed On Page2
* --- Eject and Begin New Page ---
Data Printed On Page3
Data Printed On Page3
Data Printed On Page3
Or you want to insert a totally blank page in between printed pages based on some characteristic of your data having changed.
Data Printed On Page1
Data Printed On Page1
Data Printed On Page1
* --- Eject and Begin New Page ---
< 'Print' Totally Blank Page >
* --- Eject and Begin New Page ---
Data Printed On Page3
Data Printed On Page3
Data Printed On Page3
* --- Eject and Begin New Page ---
< 'Print' Totally Blank Page >
* --- Eject and Begin New Page ---
Data Printed On Page5
Data Printed On Page5
Data Printed On Page5
Or he might want a blank page - one with all the captions, headers and footers - but no actual data. People often request these so they can use them in QA manuals or for filling in manually.
Regards
Griff
Keep [Smile]ing
There are 10 kinds of people in the world, those who understand binary and those who don't.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.