toggle box in for each statement

mayank

Member
Hi all,

we are using progress 10.2b open edge... i am running one for each statment and matching the condition with user input..now i want display toggle box infront of the field that if user select the tooggle box then only that data should be consider to use...

please let me know the syntax for same. or possible any other solution for same.

Thanks in advance..

Best Regards,

Mayank Sharma
 

rzr

Member
now i want display toggle box infront of the field that if user select the tooggle box then only that data should be consider to use...

the above statement is not clear ....

TOGGLE-BOX is of LOGICAL datatype. If is user checks the box the value will be YES and it he unchecks it value will be NO.
What do you want to happen when the value is YES and what do you want to happen when the value is NO ?

If i understand your question correctly, you want to display output from the FOR EACH only when the toggle is check. If this is the case then

1. define a variable and VIEW-AS TOGGLE-BOX
2. ASSIGN it's value on VALUE-CHANGED tigger
3. if toggle selection = TRUE then... do your business positive logic else do your negative business logic (error msg etc).
 
Top