Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to display data depend upon ListBox value?

Former Member
0 Likes
385

Hi Experts and Particularly Hema,

As I asked before how to display data in the ListBox, I got an very good response from you all(particularly Hema) .

Now what my doubt is asked with sample scenario below:

In Screen Painter -


Two fields namely : One List Box and other is I/O used only for displaying purpose i.e., only for output, not for input purpose.

List Box is filled by primary key field(C1) value from one table(T1) when the screen load.(i.e., such code is written in PBO).

Now what I need is :

If the user select any one value in the List Box then it automatically display the corresponding C2 value from T1 in the I/O field.

I think you may all understand what I am trying to ask.Please let me know the solution.

Thanks in advance,

Regards,

Raghu

Hi Experts and Particularly Hema,

As I asked before how to display data in the ListBox, I got an very good response from you all(particularly Hema) .

Now what my doubt is asked with sample scenario below:

In Screen Painter -


Two fields namely : One List Box and other is I/O used only for displaying purpose i.e., only for output, not for input purpose.

List Box is filled by primary key field(C1) value from one table(T1) when the screen load.(i.e., such code is written in PBO).

Now what I need is :

If the user select any one value in the List Box then it automatically display the corresponding C2 value from T1 in the I/O field.

I think you may all understand what I am trying to ask.Please let me know the solution.

Thanks in advance,

Regards,

Raghu

1 REPLY 1
Read only

Former Member
0 Likes
353

Simply attached a function code for the listbox... when the user changes the value, you will be able to pick this up in the PAI and loop back to the PBO and redisplay the corresponding output field.

Jonathan