Vlookup/Dlookup in a table

E

Erica

I have table #1, which lists a series of titles and their corresponding
product numbers. In another table I want the same info, but I do not want to
have to manually input the product number. I want to be able to chose a
title name from a drop down list (which I already set up, based upon table
#1) and have a "vlookup" populate the corresponding product numbers? I tried
the lookup command but I want the product code to be in a separate column.

I hope this makes sense, and any help would be wonderful! Is this even
possible?
 
S

storrboy

I have table #1, which lists a series of titles and their corresponding
product numbers. In another table I want the same info, but I do not want to
have to manually input the product number. I want to be able to chose a
title name from a drop down list (which I already set up, based upon table
#1) and have a "vlookup" populate the corresponding product numbers? I tried
the lookup command but I want the product code to be in a separate column.

I hope this makes sense, and any help would be wonderful! Is this even
possible?

I hope this makes sense,

Not really.
Is there other data going with it?
Are you doing this on a form?
 
J

John W. Vinson

I have table #1, which lists a series of titles and their corresponding
product numbers. In another table I want the same info, but I do not want to
have to manually input the product number. I want to be able to chose a
title name from a drop down list (which I already set up, based upon table
#1) and have a "vlookup" populate the corresponding product numbers? I tried
the lookup command but I want the product code to be in a separate column.

I hope this makes sense, and any help would be wonderful! Is this even
possible?

Not in a Table.

Access IS NOT EXCEL ON STEROIDS.

A table is *not* a spreadsheet. You can't use functions, VLookUp *or*
DLookUp, in a table, and you never need to do so! Table datasheets
should basically be used only for design and debugging, not for data
entry, viewing or searching.

Instead, use *A FORM* bound to your table. You can put a combo box on
the Form, bound to the product number field; the combo box would be
based on your table #1 (which I hope isn't *named* [Table #1]!!!); it
can store the product number while displaying the product name.

John W. Vinson [MVP]
 

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

Top