I have a table called "Do Not Sell" with a list of items that should not be sold. I have another table called "Sales" that show all the sales for the month. How can I reference the "Do Not Sell" table to pull over a "Y" or "N" value for each item sold (if the item is on the "Do Not Sell" table, I want it to be flagged "Y"). In Excel, I would simply do a vlookup to determine whether the item is on the "Do Not Sell" list. I'm not sure how this is done in Access. I've heard about Dlookups as the Access-alternative, but I don't know how to apply it to my specific case. Any help would be much appreciated! Thanks!![]()
Also, I'm not sure whether it's mentioning, but I don't have a primary key. The "Do Not Sell" list is just a table containing one column- the manufacturer codes for the items.