Page 1 of 1

Interface control for Lookup Table

Posted: Tue Jul 13, 2010 3:25 am
by maxin454
Hi. I tried to create an interface control in Sable for a variable whose type is "Lookup". I do not know how to do it. Does Sable support such functionality? Thanks.

Posted: Tue Jul 13, 2010 6:51 am
by Administrator
Yes.

Insert a button, and on the button you need a Venapp command. The command should be

SIMULATE>1TABCHG|<INSERT_YOUR_LOOKUP_TABLE_NAME_HERE>

Let us know how you get on.

Tony.

Posted: Tue Jul 13, 2010 1:26 pm
by maxin454
Thank you, Tony. That would work. However it is slightly different than what I want to achieve (I did not describe it clearly). Let me describe what I need more specifically.

I would like to change a variable value whose type is a Lookup but I only want to change only one entry in that Lookup table. For example, the lookup table is

Input Output
1 100
2 200
3 300

Now, I only want to change the Output of Input 2 from 200 to 500. How can I set up a radio button, or a check box, or even a slider (either one would work) and when it is checked, the Output of Input 2 will be changed to 500?

Thanks.

[Edited on 7-13-2010 by maxin454]

Posted: Tue Jul 13, 2010 2:49 pm
by Administrator
You cannot do this with Sable. Only the whole lookup editor will appear.

Tony.