Page 1 of 1

Displaying multiple fields in a text box

Posted: Mon Feb 20, 2012 7:45 pm
by jholsombach
Is there any way to display multiple fields in a text box? For instance I may have a text box where I enter the type of policy code. I'll set up the auto-complete so when a user starts typing, they'll see a list of the codes along with the description of those codes. However, once the user selects a choice, only the code shows up in the text box itself.

In general the code won't make much sense to a user by itself, which is why displaying the value as well would be great.

It would be complicated to try placing the description in text output field beside the text box, as that would not normally update (without adding in some sort of dynamic update code, if even possible) once a user selects or changes the code in the text box.

Thanks!

Re: Displaying multiple fields in a text box

Posted: Fri Feb 24, 2012 5:51 pm
by jholsombach
I wanted to see if there was any info for this item.

Thanks!

Re: Displaying multiple fields in a text box

Posted: Fri Feb 24, 2012 6:48 pm
by Brian
You may be able to concatenate multiple fields for value using the || SQL operator in the property.

Of course, your RPG program will need to then be smart enough to disregard the extra text in the box.