openTable

To open a given table

This function closes the current table and opens a given table. You can specify the request by adding a view you want the table to be opened with.

If you didn't add a specific view, the "default" or the last active view will be opened.

Syntax

openTable(string)

openTable(string, string)

Return

void

Examples

openTable("Invoices")

Result: The Invoices table opens.

openTable(myTable, myView) To open a given table with a given view.

openTable("Invoices", "Current month")

Result: The Current month view of the Invoices table opens.

See also

openPage, which opens a given page.

openRecord, which jumps to the related table and opens a given record.

popupRecord, which opens a given record in a pop-up form.

Last updated