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

Link Two Listboxes

IanStubbings
Active Participant
0 Likes
552

Hi

I am having problems linking two listboxes together. I have read all the posting and I am currently using VRM_SET_VALUES tom poulate the list fine. However, when I change the value in my first listbox, I want the 2nd listbox to display the updated values. How do I achive this? Which event is triggered when I drop down the 1st listbox value?

Any help greatly appreciated.

Regards

Ian

3 REPLIES 3
Read only

Former Member
0 Likes
502

Hi,

Create 1st List Box with FCODE... Once U assign FCODE to the Box... It will trigger PAI and inside that PAI u fetch Value for Field 2.

Hope this will help u. IF u still have a doubt about this reply me specifying problem I will write code for that..

Please motivate us to answer more by awarding points if this solves u r problem.

Darshan

Read only

0 Likes
502

Hi Darshan

Thanks for the reply.

The PAI is now being triggered but errors due to entries failing the foreign key check between the two listboxes.. I guess I will now have to delete the entries in box 2 as soon as the dropdown is pressed on box 1.

Any ideas

Cheers

Ian

Read only

0 Likes
502

Hi,

Yes. You need to refresh the second listbox and fill it again, whenever there is a change in the first listbox.

Regards

Subramanian