Page 1 of 1

Database Driven Selection

Posted: Tue May 12, 2015 11:03 am
by rjiron
Can profound read a file in QTEMP on Database Driven Selection section? for a dropdown field selection.

Database-Driven Selection
choises database file: QTEMP/FILENAME

Re: Database Driven Selection

Posted: Tue May 12, 2015 11:14 am
by Brian
The database driven widgets run their selection asynchronously in a separate job from the Rich Display program. Unfortunately, that job will not have access to the QTEMP library from the program.

A different way of loading the dropdown that would work is to load the "choices" and "choice values" properties from your RPG program. Just bind these properties to a large character field and load comma separated lists in them.

Re: Database Driven Selection

Posted: Tue May 12, 2015 11:54 am
by rjiron
Thank you so much Brian, That’s the type of solution that I was looking for.