RenamePage
Mon 01 January 2018Syntax
RenamePage(Page.NewPageName, Page.OldPageName)
Description
Use the RenamePage function to modify a page definition to have a new name. This function also cleans up most references so they now use the new name.
Parameters
Field or Control |
Definition |
---|---|
NewPageName |
Specify the new page name to be used. This name must be prefixed by the reserved word Page . |
OldPageName |
Specify the name of the page to be changed. This name must be prefixed by the reserved word Page . |
Returns
A constant value. The values are:
Value |
Description |
---|---|
%MDA_Success |
Bulk operation completed successfully. |
%MDA_Failure |
Bulk operation did not complete successfully. |
%MDA_PageNotFound |
The page specified with OldPageName wasn't found. |