Drop Down Box Help

  • Thread starter mattc66 via AccessMonster.com
  • Start date
M

mattc66 via AccessMonster.com

Hi All,

I have a drop down box on form. I have it setup to look up data from a part
number table will call it tblData to add the data to a different table called
tblDoc. However if the item is already in the tblDoc I'd like it to bring up
that information rather then over writting the tblDoc. What would the code
look like?
 
J

Jeff Boyce

I can't tell from your description if your tblDoc uses a "lookup" data type
for that part number, or is a data type compatible with the primary key
field in tblData.

The combobox in your form gives a list of available choices. If the
combobox control is "bound" to the underlying correct field in the table
(tblDoc), it should display the already-chosen value.

Are you saying that you don't want anyone to change their choice, once it's
been made? If so, how do you handle mistakes?

Regards

Jeff Boyce
Microsoft Office/Access 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