How to have an unbound form field retain its value
LibertyMountain
Member Posts: 94
I have an unbound boolean field (i.e. bound to a form variable, but not bound to a table field) on a form. When this field is true, a subform showing item history includes item adjustment entries. When false, the history only shows sales entries.
I would like this boolean field to retain its value (specific to the user) so that when users run the form again, the form will show the value that it was the last time the form was run. right now, every time I open the form, the value is false (even if it was true when I closed the form last). I was hoping there was some "Save Value to ZUP File" property I could set to "Yes", but there is nothing like that.
Fields an a report's request form seem to reflect the behavior I desire. whatever the value of the field is on the request form when I run it now, I expect to see the same value the next time I run it.
thanks for any help.
I would like this boolean field to retain its value (specific to the user) so that when users run the form again, the form will show the value that it was the last time the form was run. right now, every time I open the form, the value is false (even if it was true when I closed the form last). I was hoping there was some "Save Value to ZUP File" property I could set to "Yes", but there is nothing like that.
Fields an a report's request form seem to reflect the behavior I desire. whatever the value of the field is on the request form when I run it now, I expect to see the same value the next time I run it.
thanks for any help.
0
Answers
-
then u must store these setting in a separate tableDo you make it right, it works too!0
-
woud SaveValues = Yes (property) work?
That does the trick on a report request form, i wondered how it works for normal forms.kind of fell into this...0 -
Seems obvious now that you mention it. 8)
Yes that did it. Thank you very much, jversusj.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
