on 09-07-2007 5:49 PM
Hello all,
I have an issues when I create a dynamic action in the toolbar buttons of a table which looks like that:
if(@ZCLOSED== 'X',"ERROR","DECISION")
I tried the same syntax in a pushbutton in a normal form and here it worked w/o problems;
Did somebody used already dynamic actions in the tool bar of tables?
Thanks
Werner
Hi Werner,
The toolbar button expects an action name and not an expression.
If you only use the action from that form, you can simply create an action with another name and use conditional transition.
Or, you can try this cool (though long) workaround:
Create an action (lets say MyAction) and add another form (form1) to the model.
Add a spinner control to form1 and give it the dynamic action you want.
Set the visibility of form1 as false and connect your form with form1 using signal in/out to be triggered by MyAction.
finally,assign @spinner1+1 to the spinner when MyAction is raised.
Good luck,
Shay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.