Hi,
I am trying to build a VenApp where the user can update the range for one of the subscripts. How can I do this?
Thanks,
How to access subscripts control dialog in VenApp?
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm
I just tried this and it seems to be working fine in 5.8d. The format for the command is
BUTTON,"Set Subscripts",34,43,8,3,,,SPECIAL>SUBSCRIPT|?,
to bring up a list of all subscripts of
BUTTON,"Set Subscripts",34,43,8,3,,,SPECIAL>SUBSCRIPT|Firm|?,
to select which firm (assuming Firm is a subscript range).
BUTTON,"Set Subscripts",34,43,8,3,,,SPECIAL>SUBSCRIPT|?,
to bring up a list of all subscripts of
BUTTON,"Set Subscripts",34,43,8,3,,,SPECIAL>SUBSCRIPT|Firm|?,
to select which firm (assuming Firm is a subscript range).
Hi Bob,
Thanks for the update. I tried this command and it works fine and brings up the Projects subscript window.
string strVensimCommand = "SPECIAL>SUBSCRIPT|PROJECTS|?,";
Now, if I want to set the value of the subscript PROJECTS then how can I do that?
In the model, Projects is defined with this equation: (project1-project5).
I want to be able to change this equation for Projects dynamically from code. so, if I want to set the equation to (project1-project10) I should be able to do that.
Thanks.
Thanks for the update. I tried this command and it works fine and brings up the Projects subscript window.
string strVensimCommand = "SPECIAL>SUBSCRIPT|PROJECTS|?,";
Now, if I want to set the value of the subscript PROJECTS then how can I do that?
In the model, Projects is defined with this equation: (project1-project5).
I want to be able to change this equation for Projects dynamically from code. so, if I want to set the equation to (project1-project10) I should be able to do that.
Thanks.
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm