OBJECTID Function (Page)

Returns a string in the "Page xxx" format, where xxx is the name or ID of the application object.

String := Page.OBJECTID([UseNames])

Parameters

  • Page
    Type: Page The page for which you want to get the name or object ID.
  • UseNames
    Type: Boolean Set this parameter to true if you want the returned string to contain the name 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));