Interface control for Lookup Table

Use this forum to post Sable related questions.

Moderator: Administrator

Post Reply
maxin454
Member
Posts: 35
Joined: Tue Jul 13, 2010 3:17 am

Interface control for Lookup Table

Post 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.
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Post 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.
maxin454
Member
Posts: 35
Joined: Tue Jul 13, 2010 3:17 am

Post 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]
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Post by Administrator »

You cannot do this with Sable. Only the whole lookup editor will appear.

Tony.
Post Reply