How do you display the first record in combox from query?

M

MTTrader

It would seem simple but I nothing I have tried seems to display the first
record returnd from the query.

How do you display the first record in combox from query?
 
K

Ken Snell \(MVP\)

This code step (run from an appropriate event procedure) will do that:

Me.ComboBoxName.Value = Me.ComboBoxName.ItemData(0)
 
M

MTTrader

Thanks Ken.
--
Thanks,

JSY
MTTrader


Ken Snell (MVP) said:
This code step (run from an appropriate event procedure) will do that:

Me.ComboBoxName.Value = Me.ComboBoxName.ItemData(0)
 
Top