Livebindings master-detail relationship between 2 comboboxes to work vice-versa selection

129 Views Asked by At

I am trying to use the livebindings feature between 2 tcomboboxes having master-detail relationship. Both tcomboboxes are connected to respective datasets. Say, I have a customer name table and the jobs table. Both tables are populated to respective tcomboboxes at runtime.

So far, I do not have issues on one-way populating jobs (detail) upon selection of a customer (master) tcombobox.

On the other hand, I want the tcombobox-jobs (detail), when a value is selected, automatically selects the customer (master).

Is there a way that I can do this with livebindings?

I tried some livebindings setup and I am getting an error.

LiveBinding Setup

LiveBinding Error

I am not really familiar with livebindings yet (how this works at the backend). I will appreciate any help.

Just to let you know, I already tried events to handle this but no success. I am enclined now with livebindings to handle this little function.

0

There are 0 best solutions below