How to have an unbound form field retain its value

LibertyMountainLibertyMountain 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.

Answers

  • garakgarak Member Posts: 3,263
    then u must store these setting in a separate table
    Do you make it right, it works too!
  • jversusjjversusj Member Posts: 489
    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...
  • LibertyMountainLibertyMountain Member Posts: 94
    Seems obvious now that you mention it. 8)

    Yes that did it. Thank you very much, jversusj.
Sign In or Register to comment.