Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Global Variable

(0) ShareShare
ReportReport
Posted on by 3,077

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,957 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,077 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,077 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,562 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,077 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,077 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,863 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans