I have two tables which are being linked into a database.
The first table is called "Sell Yes or No", where it lets me know if I Sell the item (Y) or not (N).
Next is a table called "Date Data". This table shows the item, DateEnter and the amount.
So If I sell a item (Y), and there is a date for that item in the date data, I want all the item that I sell that is a "Y" to have that same date and the amount to be 0 if it does not have an amount to it.
So I would like to see
Item Sell dateenter amount shoes y 1/1/2012 2 Shirt y 1/1/2012 0 Jeans y 1/1/2012 0 shoes y 2/1/2012 0 shirt y 2/1/2012 2 jeans y 2/1/2012 4