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

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
This code step (run from an appropriate event procedure) will do that:

Me.ComboBoxName.Value = Me.ComboBoxName.ItemData(0)
 
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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top