O'Reilly logo

Microsoft Dynamics NAV 7 Programming Cookbook by Rakesh Raul

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a wizard page

A wizard is a page that takes you through specific sections using the Next and Back buttons. Here we will show you how to design a page that will do exactly that.

How to do it...

  1. Create a new blank page from Object Designer.
  2. Set the properties of the page as follows:

    Property

    Value

    PageType

    NavigatePage

  3. Create the following global variables:

    Name

    Type

    Length

    FullName

    Text

    200

    Address

    Text

    200

    DateofBirth

    Date

     

    ContactNo

    Text

    30

    BackEnable

    Boolean

     

    NextEnable

    Boolean

     

    FinishEnable

    Boolean

     

    Step1Visible

    Boolean

     

    Step2Visible

    Boolean

     

    Step3Visible

    Boolean

     

    Step4Visible

    Boolean

     
  4. Add the following variables in Page Designer:

    Type

    SubType

    SourceExpr

    Name

    Container

    ContentArea

     

    Content

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required