Combo box query

  • Thread starter Thread starter Frank H
  • Start date Start date
F

Frank H

Can anybody help ?

I have an unbound combo box on a form, displaying an ID &
a Name field. Once I select a record from that combo I
want to be able to display the next or previous fields in
that combo from the selected record onwards without
actually using the combo itself. Is there any way in code
that this can be done ?

TIA
Frank H
 
I'm not sure I get your question.. I gather that you need to get the
previous and the next keys from the current record.. thats easily done. You
could open a recordset using the same query you used for the combobox. After
a findfirst you could go one up and one down to get the necessary keys.

hope that helps.
 

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