source expression

hello, how can I make a source expression of a specific field in a page to be a field in a table in order to use it in another page fields?

Answers

  • RockWithNAVRockWithNAV Member Posts: 1,139
    Can you please explain, question yet not clear?
  • lamislamis Member Posts: 46
    edited 2016-10-18
    suppose I have two pages, page1 and page2, both read from the same table, table1, I set a source expression for a field in page 1,which is a variable that I declared in the code, I want to set the same source expression for a field in page 2. how could be this done?
  • RockWithNAVRockWithNAV Member Posts: 1,139
    How you are calculating this Source Expression??

    If there is some function for this then obviously you can call it from the second page as well with the desired parameters.

    The point to be noted is its not a direct field of the table so it needs to be calculated.
  • KishormKishorm Member Posts: 921
    If this is a simple calculation then simply copy what you did on page 1 to page 2.

    If it's a little more complicated then move the logic into a function onto the table or perhaps a codeunit and call the function from both pages to set the value on the variable you are showing on each page.
Sign In or Register to comment.