Page 1 of 1

Dropdowns from a file not using static or LF/SQLVIEW - How?

Posted: Thu Aug 04, 2011 12:59 pm
by dwrightgrinch
How would I create information in a dropdown, where I had to key read (RPG) a file (the key field is from prior user input on the screen) and populate the dropdown? We've only seen examples using files or static information. We can't use LF or SQLVIEW. There's no examples we can find in PUISAMPLES.

Donna Wright Walsh
GPC
770 850 2419

Re: Dropdowns from a file not using static or LF/SQLVIEW - How?

Posted: Thu Aug 04, 2011 2:46 pm
by Brian
You can bind the "choices" and/or "choice values" properties to very large character fields and populate them with a comma separated list of values in your RPG program however you see fit.

I am curious why an SQL view is not possible. Based on your previous post, it was the most logical choice.