0

printTable

To print the visible columns of a given view according to your database settings (PDF or HTML)

With this function, you can print a table view in a default layout to a PDF or HTML. So this function equals the printing option in the table settings.

Syntax

printTable(string, string)

Return

void

Examples

printTable(tableName, viewName) To print the visible columns of a given view to a PDF with a given table name and open the file with a program set as default.

printTable("Invoices", "Open")

Result: Prints the Open view of the Invoices table to a PDF (if these are your settings).

See also

printRecord, which prints to a PDF from a given record in a given layout and opens the file with a program set as default.

Reply

null