>>In the report designer use the text control to enter the header.
>>Double-click on the text and select the Print When Expression.
>>Enter a memvar name.
>>Before issuing the REPORT FOR command define a public memvar with
>>the same name and set it .T. for printing the header or .F. for
>>not printing the header.
>
>Yes, this will or not print the header but when not printing the header, a blank page will still be there. So, the question is how to remove the blank page?
Michel,
If you are getting a blank page, this means your data set is empty, correct? Can't you check for this in advance, and not issue the REPORT command if there is no data?
=========================
Mark A. Peter
Los Angeles, CA
mpeter@primenet.com=========================