Avoid print just table header at bottom

Hello,

It is possible to avoid to print a table when there isn't enough place to print at least 1 data row ?
You'll here find a screenshot to illustrate my problem.
Thanks in advance.
Jonathan.

Comments

  • edited 4:59AM
    Any Ideas ?
    Thanks.
  • edited 4:59AM
    Hello,

    Use the header's property KeepWithData.
  • edited 4:59AM
    Hello Alex,

    I tried KeepWithData, but I still have the problem.
    I prepared you a sample modified from your demo in menu Table->Row Datasource
    Could you take a look to this example and see if I missed something
    Thanks a lot.
    Jonathan.
    AlexTZ wrote: »
    Hello,

    Use the header's property KeepWithData.
  • edited 4:59AM
    Hello,

    The keep mechanism is not working because the table object genegates own bands when printed. You may add the header to the table object and tell the header to keep with at least one data row.
  • edited 4:59AM
    Another way is to print a table using regular Data band with Text objects on it. In this case you may use the data header band with "KeepWithData" option.
  • edited 4:59AM
    So, if I understand, I need to add the Header directly as row to the table and

    tell the header to keep with at least one data row -> Please, I can't see how to do this, could you modify the simple sample I sent in my second message of this thread.
    Many thanks. Jonathan
    AlexTZ wrote: »
    Hello,

    The keep mechanism is not working because the table object genegates own bands when printed. You may add the header to the table object and tell the header to keep with at least one data row.
  • edited 4:59AM
    Here is an example attached. Note the Row1.KeepRows = 2; line in the script.
  • edited 4:59AM
    Many thanks, it works perfectly !
    Jonathan.
    AlexTZ wrote: »
    Here is an example attached. Note the Row1.KeepRows = 2; line in the script.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.