Valid from List & Label 11Starting with List & Label 20, multiple report containers are supported under .NET.
Starting with List & Label 11, a report container may contain multiple tables. You can define an arbitrary sequence of tables in this way. Use the LlDbAddTable(), LlDbAddTableRelation() and LlDbAddTableSortOrder() API to pass your data model to List & Label. Further information can be found in the manual.
Another frequent usage for multiple tables is a multi columnar layout - this can easily be achieved with Version 13 or newer, just set the Column Count property to the required value.
A third way (not recommended if the above works for you) to print two completely different tables on one page is:
Place both tables in the designer and assign a name to each table.
- Start printing as usual (LlPrint())
- Disable table 2, enable table 1 (see LlPrintEnableObject).
- print to table 1 until LlPrintFields() returns LL_WRN_REPEAT_DATA or no more data is available
- Disable table 1, enable table 2 (see LlPrintEnableObject).
- print to table 2 until LlPrintFields() returns LL_WRN_REPEAT_DATA or no more data is available
- enable both tables and call LlPrint()