Global Variables between pages

WehyWehy Member Posts: 4
Hello all,

I would like to filter on a part type page (listpage) based on the chosen field on card page.
On Cardpage: I put the chosen value into a global variable.
I want to use this global variable to filter the content of the subpage, and see only datas in connection with the chosen card page field.

But! I can not see the variable from the cardpage, and i don't know why.
How should i do this?


How to send variables between pages?

<<NAV 2016>>

Answers

  • DuikmeesterDuikmeester Member Posts: 304
    edited 2019-04-09
    You can either create a FlowFilter on the table of the Card page which is set in OnAfterGetCurrentRecord and linked thru SubPageLink property of the Subpage. Or create a GLOBAL function on the Subpage and use CurrPage.MySubpageObject.GlobalFunctionName(MyValue) also from OnAfterGetCurrentRecord of the Card page.
  • WehyWehy Member Posts: 4
    Thanks for the tips! I will try. :)
  • wolfskinwolfskin Member Posts: 84
    You can create a global function then pass the variable before opening the page.
Sign In or Register to comment.