Combo Box

T

Trever B

I have a Combo box that finds a record when selected.

After selection is shows the value.

However, when I move to another record by other means it still shows the old
selected value.

How do I get it to show the current record value.

Thanks

Trev
 
R

Rod Plastow

Trever,

There's more than one way of doing this and the best solution depends upon
how you've set up the ComboBox-to-RecordDisplay synchronisation.

In concept what you want to do is detect a change of record - the event On
Current is a likely candidate - and then poke the appropriate value into your
combo box. There are some further considerations such as what if the new
value is not in the combo box list and can you add new records? The latter
requires a requery of the combo box before poking in the new value.

If you want more exact help then respond with a few more details about how
the combo box is linked with the record display.

Regards,

Rod
 
Top