Hold The Value In A Variable

ricky76
Member Posts: 204
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.
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.
0
Comments
-
Hello,
Have you considered using a table to hold the values?
RegardsAndre Fidalgo
My world: Dynamics NAV,SQL and .NET
CEO at Solving Dynamics
http://www.solvingdynamics.com0 -
I did think this may be my only option but was hoping to avoid this to be honest0
-
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 cleaned0 -
Thanks very much for your help. I think i will go down this route on putting the values in a table.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions