openPage

To open a given page

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

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

Syntax

openPage(string)

openPage(string, string)

Return

void

Examples

openPage("Invoices")

Result: The Invoices page opens.

openPage(myPage, myTab) To open a given page with a given tab.

openPage("Invoices", "Current month")

Result: The Current month tab of the Invoices page opens.

See also

openTable, which opens a given table.

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