OBJECTID Function (Page)
Returns a string in the "Page xxx" format, where xxx is the caption or ID of the application object.
Syntax
String := Page.OBJECTID([UseCaptions])
Parameters
Page
Type: Page
The page for which you want to get the caption or object ID.
UseCaptions
Type: Boolean
Set this parameter to true if you want the returned string to contain the caption of the page. Set this parameter to false if you want the returned string to contain the page ID.
The default value is true.
Property Value/Return Value
Type: Text or code
The string: Page <Page name | Page ID>
Example
If you add the following code to a page function or trigger, then the returned string is displayed in a message window.
MESSAGE(CurrPage.OBJECTID(TRUE));