on 03-16-2015 12:23 PM
Hello All
I am working on scenario which i have two button one for start and other for stop when i click on start button this will display the start image now when i click on stop button then image will be display for stop button but i want after transmit stop button should be check by default.
Regards:
Sumit
Sumit,
I think u want to know about how and where we can use "Value when Select" attribute of Edit Type Button?? I am also having the same Problem. Hoping for Positive Responce.
Regards,
Vaidehi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vaidehi,
At this link http://infocenter.sybase.com/help/index.jsp they said that For a button field on a transaction, fetch, or object detail screen, if the target property matches the value set for this attribute, the button will be in a selected state.
I want to implement this feature with the help of "Value when Selected".
I want after transmit stop button should be check by default. In short, Initially i want stop button should be check by default as screen appears.
Regards:
Sumit
Sumit,
you are saying
"I want after transmit stop button should be check by default. In short, Initially i want stop button should be check by default as screen appears."
just let us know what type of screen it is ?
1) Detail Screen which displays this button for stop.
2) Transaction screen where you want to act on this button.
Regards,
AK
Ok Sumit,
I think this should answer your question,
On detail screen you can implement this as shown below.....
1)Your screen has a field for button like below.Change its Value when selected as shown below
2)On same field apply update rule as below
3)That rule is like below (simply return what you have in value when selected)
@Vaidehi this should answer your question as well,
Simply add something in your "Value when selected" for that field and return it from update rule for that field
Regards,
AK
Sumit/Vaidehi,
Don't confuse it with true and false,
Try all combination like
1)
Value when selected : true/false
update rule : true/false
all four possible combinations for above case
(It will work for true or false in case of boolean values.
That's why it is working for check box even if you don't specify that in "Value when selected".
For that sake give "Value when selected" as nothing and return anything like "Checked" from update rule and see what happens.
Or try following combinations
Value when selected : --blank--/checked/unchecked
update rule : checked/unchecked
)
2)Change it to radio button and see what happens
Value when selected : Radio
update rule : true/false/Radio
That should answer your question.
3)Still confused give it another try
a) by adding it on transaction screen,
b) map transaction property with some object property (optional)
c) write a "Rule-rule after data entry" for that transaction property
d) And refer that property in rule.
AK,
Thanks for your reply. but you know if u pass a Constant(x=True) in update rule and value when select as blank then also the button will be in select state.Then what is the actual use of "Value when Select" attribute.
Regards,
Vaidehi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sumit,
Let me see if I understand your scenario.
You have two buttons (start and stop) and an image (separate from the buttons).
I would look to implement this as follows:
Hopefully that will help you get started.
--Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bill,
Basically i want to implement the "Value when Selected" Attribute in Edit Type-Button.
At this link http://infocenter.sybase.com/help/index.jsp they said that For a button field on a transaction, fetch, or object detail screen, if the target property matches the value set for this attribute, the button will be in a selected state.
I want to implement this feature with the help of "Value when Selected".
I want after transmit stop button should be check by default. In short, Initially i want stop button should be check by default as screen appears.
Regards:
Sumit
Hi Sumit,
Can you please provide some more information,
like
1)a screenshot of what type of buttons are those
2)what is the screen type
3)what is the version of agentry editor,server,client
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Evening Ak,
Basically i want to implement the "Value when Selected" Attribute in Edit Type-Button.
At this link http://infocenter.sybase.com/help/index.jsp they said that For a button field on a transaction, fetch, or object detail screen, if the target property matches the value set for this attribute, the button will be in a selected state.
I want to implement this feature with the help of "Value when Selected".
I want after transmit stop button should be check by default. In short, Initially i want stop button should be check by default as screen appears.
Regards:
Sumit
Sumit,
i think you are using check box button
1) so to achieve that this field will be mapped with some transaction property
2) this transaction property should be Boolean
3) on transaction property following options are available (as "Initial Value" dropdown)
--constant
--rule before data entry
--rule after data entry
--from diff object prop etc...
4) set this as constant and select the check box below it to set it (Checked)
5) if you want it to be done by object property map it to from object property (if object property is true it will be checked by default)...
Regards,
AK
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.