Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Global Variable

(0) ShareShare
ReportReport
Posted on by 3,099

Hi

 I have Global Variable Balance . I want to display it in a form .

Thanks

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Global Variable

    Guys, he told you about NAV 2009 and forms. Not pages.

    Try create TextBox and change property SourceExpr to the name of your variable.

  • Suggested answer
    Olister Rumao Profile Picture
    3,959 on at
    RE: Global Variable

    Hi,

    Follow as per the screenshots

    1.Define Globals

    SelectedGlobal.png

    2. In the Page Designer click on AssistEdit

    SelectField.png

    3. Select the Global Field in the page source selection page

    SelectGlobal.png

    4. Result: Selected Global Variable as a page field

    SelectedGlobal.png

  • jsshivalik Profile Picture
    3,099 on at
    RE: Global Variable

    Hi

      I am using Navision 2009 R2 . It is not showing me screen like yours

    Thanks

  • Suggested answer
    CDsilva Profile Picture
    4,188 on at
    RE: Global Variable

    Alright,

    1.First select the line where you want to insert this variable,

    2.Click on C/AL symbol menu, then select the variable.

    3. click on OK.

    Hope this helps. I've used a global variable Test

    2727.Capture2.JPG

    2727.Capture2.JPG

    2046.Capture3.JPGGive it an apt caption

  • jsshivalik Profile Picture
    3,099 on at
    RE: Global Variable

    8640.Screen.jpgHi

     I have added variable in C/al Global  with DataType = Decimal. I press F5

  • Suggested answer
    RockwithNav Profile Picture
    6,835 on at
    RE: Global Variable

    Go to the last line in your Form Design, Copy and Paste that Variable in Source Expression and then Press Enter!!

  • Suggested answer
    CDsilva Profile Picture
    4,188 on at
    RE: Global Variable

    Hi,

    Can you tell me step wise how are you adding the variable ?

  • jsshivalik Profile Picture
    3,099 on at
    RE: Global Variable

    Hi Chris

       I have clicked on O.k but nothing happens . Even if i click Apply and Then o.k even then nothing happens.

    I am using 2009

    Thanks

  • Suggested answer
    CDsilva Profile Picture
    4,188 on at
    RE: Global Variable

    What do you mean by does not show on form? you need to add the variable same as fields only difference is you choose C/AL symbol menu not field menu. select the variable and click on OK. The variable will be added.

    5280.Capture1.JPG

  • jsshivalik Profile Picture
    3,099 on at
    RE: Global Variable

    Hi

     Right but when i click f5 and Copy it does not show on form . How i should select or drag on form

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics NAV (Archived)

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2

#1
mmv Profile Picture

mmv 2

#1
Amol Salvi Profile Picture

Amol Salvi 2

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans