General information
Category:
Reports & Report designer
>Crescencio,
> That would be a logical solution, but one that would make the creation of single PDF and HTML or text files more problematic. That's why I already rejected that solution.
>
>Thanks for the reply. It would certainly solve the problem if I only wanted to print the report to printer.
>
>>>I'm trying to print out a title page for a report that only prints when a logical expression is true. Otherwise, no title page prints (and no blank page get's kicked out!).
>>>
I think there might be a way of doing this by hacking the frx. The trick would be to create a temporary report each time from your original with or without the title depending on the external logical condition. It seems like the entry for the title band has OBJTYPE=9 and OBJCODE=0 and the pagebreak field would have a .T. if you require a page break. The title contents has OBJTYPE=5 and OBJCODE=0, although you would need to further identify it because header and footer have the same codes.
You can find more info about the frx table structure under the filespec directory of your VFP installation (you probably have already been there if you considered hacking the frx).
Hope this helps.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only