Search…
Resources
Related Links
popupRecord
To open a given record in a pop-up form
This function opens the form of the given record on top of the form currently on display. If you want, you can also specify the tab that should be opened.
To open the form of a record and close the current form and table, use openRecord().
The function doesn't work if it's executed on the server. So using this function in a do as serverblock doesn't work. It works fine when used without a do as server block on a button. Learn more about execution context​

popupRecord(nid)
popupRecord(nid, string)

void

popupRecord(myRecord) To open a given record in a pop-up form.
popupRecord(first(select Customers))
Result: The first record of the Customers table opens in a pop-up form.
​
popupRecord(myRecord, tabName) To open a given record with a given tab in a pop-up form.
popupRecord(first(select Customers), "Company information")
Result: Opens the form as a popup of the first record of the Customers table with the Company information tab selected.

​openRecord, which jumps to the related table and opens a given record.
​
Last modified 2mo ago
Export as PDF
Copy link
On this page
Syntax
Return
Examples
See also