web
You’re offline. This is a read only version of the page.
close
Skip to main content
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

I have the same question (0)
  • 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,967 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
    8,249 Super User 2025 Season 2 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Saurav.Dhyani Profile Picture

Saurav.Dhyani 2 Super User 2025 Season 2

#2
RK-25090803-0 Profile Picture

RK-25090803-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans