Find a Record

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

Guest

Hi, I have this problem.... I have 6 fields , i want to create a combo box to
lookup all 6 fields but it only finds the first one. Can this be done ?

Thanks.
 
Yes of course :)
in RowSource: (introduce this query) SELECT field1, field2,field3,
field4, field5, field6 FROM tablewithfields
in columnWidth: 2cm;2cm;2cm;2cm;2cm;2cm

Hope it helped.

Havefun.
Francisco (portugal)
 
Set the combo's rowsource to something like:

Select Field1, Field2, Field ... From MyTable;

If you need to display the other columns, add text boxes that refer to them:

Me.txtField1 = Me.Combo.Column(0)
Me.txtField2 = Me.Combo.Column(1)
Me.txtField3 = Me.Combo.Column(2)
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access
 

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