Displaying multiple fields in a text box

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
jholsombach
Profound User
Posts: 27
Joined: Tue Feb 07, 2012 11:29 am
First Name: john
Last Name: holsombach
Company Name: stoneriver, inc.
Contact:

Displaying multiple fields in a text box

Post 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!
jholsombach
Profound User
Posts: 27
Joined: Tue Feb 07, 2012 11:29 am
First Name: john
Last Name: holsombach
Company Name: stoneriver, inc.
Contact:

Re: Displaying multiple fields in a text box

Post by jholsombach »

I wanted to see if there was any info for this item.

Thanks!
User avatar
Brian
Profound Logic Staff Member
Posts: 286
Joined: Thu Apr 14, 2011 10:23 am
First Name: Brian
Last Name: May
Company Name: Profound Logic Software
Contact:

Re: Displaying multiple fields in a text box

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests