Skip to main content
Microsoft Dynamics NAV forum
Suggested answer

Global variables on list page for data entry

editSubscribe (1) ShareShare
ReportReport
Posted on by 7

Hi,

I am trying to add a global variable to list page for a user to enter data into.

When the list page is filtered the last value entered in the global variable is being displayed against all records on the page.

Are global variables values on a list page not stored against the induvial record?

Thanks,

Paul

Categories:
  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 20,984 Super User on at
    RE: Global variables on list page for data entry

    If you are declaring any value on any variable and then running the page, you can see the values only when its updating one time, but not after then, because variable you can use only to display the values like on OnAfterGetRecord or any other trigger.

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 59,926 Super User on at
    RE: Global variables on list page for data entry

    Hi, As far as I know, global variables are not stored in records. It will reset when you close the page and open it again.
    If you need to store records, it is recommended to add new fields to the table.

    Hope this helps.

    Thanks.

    ZHU

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,045 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,570 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans