Skip to main content
1-Visitor
February 19, 2010
Question

Save result on Listbox with table reference

  • February 19, 2010
  • 1 reply
  • 1844 views
Hello

I have a listbox with a table reference. I can choose with it, a lots of variable.

I have a probleme, i can't save the result...

please help me,

1 reply

19-Tanzanite
February 19, 2010
On 2/19/2010 10:49:05 AM, frok49 wrote:
>Hello
>
>I have a listbox with a table
>reference. I can choose with
>it, a lots of variable.
>
>I have a probleme, i can't
>save the result...
>
>please help me,

Please don't cross post.

When you say you can't save the result, do you mean you want to save which item is selected in the listbox?

Richard
frok491-VisitorAuthor
1-Visitor
February 22, 2010
Yes,
I select an item, and I close my document.
After, I open again my document and I whant to see the item who was seleted before.

Thanks a lot for your answers
19-Tanzanite
February 23, 2010
This saves the state of the listbox in a custom metadata item. The first input is the list used to populate the listbox. The second input is the name of the custom metadata item used for storage. If you have more than one listbox you will need to use different names.

Don't put anything in the start or stop subroutines. They are a leftover from earlier versions of Mathcad, and are obsolete. Avoid using getvalue too. Although there are reasons to sometimes use it you are better off using inputs if possible.

Richard