Change Select Box based on indicator

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
gdempsey@gartman.com
New User
Posts: 1
Joined: Fri Sep 27, 2019 11:01 am
First Name: James
Last Name: Dempsey
Company Name: Gartman Systems
Phone: 870-942-4213
Address 1: 1210 South Rock St.
City: Sheridan
State / Province: Arkansas
Zip / Postal Code: 72150
Country: United States
Contact:

Change Select Box based on indicator

Post by gdempsey@gartman.com »

In converting a dds, I changed a subfile option field to a select box, but I need the selections to be controlled by an indicator set by the program on loading of the grid. Would this be handled when loading the grid, or onclick of the select box?
Wendy
Profound User
Posts: 37
Joined: Mon Aug 06, 2018 4:00 pm
First Name: Wendy
Last Name: Sauers
Company Name: Conestoga Wood Specialties
Phone: 5706589663
Address 1: 441 West Market St.
City: Beavertown
State / Province: Pennsylvania
Zip / Postal Code: 17812
Country: United States
Contact:

Re: Change Select Box based on indicator

Post by Wendy »

If I understand you correctly, the way I control the available choices in a select box when they are conditional is to populate a work file in the program based on the conditions, and have the select box reference the work file. Maybe there is a better way, but this was an easy solution for me.
emhill
Experienced User
Posts: 116
Joined: Wed Sep 05, 2012 11:14 am
First Name: Eric
Last Name: Hill
Company Name: Integrated Corporate Solutions
Phone: 256-760-8239
Address 1: 501 S Wood Avenue
City: Florence
State / Province: Alabama
Zip / Postal Code: 35630
Country: United States
Contact:

Re: Change Select Box based on indicator

Post by emhill »

You can also use bound fields for the "choices" and "choice values" properties. They would be alphanumeric and comma delimited. Just build them in your RPG as you are creating your subfile/grid. We've used this many places in our system.

Hope this helps!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest