Hi,
I have two tables
table 1 has a read cycle column and a due date column. Each read read cycle (defined as letters A through Z) has a specific due date for each month.
Ex:
A- 1/20/2012
A- 2/15/2012
B - 1/8/2012
B - 2/19/2012
table two has a request date column displaying the date the user requests a file, and a second column for the read cycle of the request.
ex:
1/17/2012 - A
1/2/2012 - B
i need a to write a query where it looks at the request date of table 2 and looks for a 'due date' from table 1 where the read cycles AND month are equal.
SOmething Like
if the month of the request date from table 2 is the same as the month of the due date from table 1 for that particular cycle (A- Z), then print that particular due date in table 2.
ex:
in the example above, the request on 1/17/2012 for cycle A should display 1/20/2012 for the due date column, since 1/20/2012 is the only due date for that cycle for the month of january. thanks