# Page.Run() Method
> Version: _Available or changed with runtime version 1.0._
Creates and launches a page that you specify. You can use CLEAR method to remove the page.
## Syntax
```al
 Page.Run()
```
## Parameters
Page
Type: page-data-type
An instance of the page-data-type data type.
## Remarks
If, at design time, you don't know the specific page you want to run, then use this method or the page-runmodal--method and specify the page in the Number parameter.
If you do know, which page you want to run, then you can create a Page variable, set the subtype of the variable to a specific page, and then use the RunMethod \(Page\)<page-run--method> or page-runmodal--method on the Page variable.
When you want to close the page, use CurrPage.Close. CurrPage is a predefined system variable. See ../../devenv-system-defined-variables.
The Run method will clear the instance of the page every time Run completes, which means that all variables inside the page are initialized. The RunModal method doesn't clear the instance of the page every time. See page-runmodal--method.
## Example
```al
Page.Run(4711)
```
## Related information
page-data-type
Get Started with AL<../../devenv-get-started>
Developing Extensions<../../devenv-dev-overview>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/page/page-run--method, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/page/page-run--method/
