Hold The Value In A Variable

ricky76ricky76 Member Posts: 204
edited 2006-09-12 in Navision Attain
Hello,

I was wondering if someone could help me. I have a work in progress report that reports on what the current situation within the company is. This report outputs into a weekly grid. When this is run on a Monday for example it populates loads of different variables. I want the report to hold the value of these variables until it meets certain conditions within the report at which time i will reset it. For example if the value of a Monday variable was 100 i don't want to reset this variable until the following week. On the Tuesday i want the Monday variable to still hold the value of 100. At the moment the variable resets itself everytime the report is run therefore i would have the correct information for Tuesday but Monday would say 0. Is want i need to do possible? Any help would be much appreciated.

Comments

  • andreofandreof Member Posts: 133
    Hello,

    Have you considered using a table to hold the values?

    Regards
    Andre Fidalgo
    My world: Dynamics NAV,SQL and .NET

    CEO at Solving Dynamics
    http://www.solvingdynamics.com
  • ricky76ricky76 Member Posts: 204
    I did think this may be my only option but was hoping to avoid this to be honest
  • nunomaianunomaia Member Posts: 1,153
    You can store those values in a XML File, a TXT.

    But you will complicate a simple solution. The best way is to store that info in a table.

    Every time the user closed Navision Client, the Variables are cleaned
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • ricky76ricky76 Member Posts: 204
    Thanks very much for your help. I think i will go down this route on putting the values in a table.
Sign In or Register to comment.