H hello Registered User. Local time Yesterday, 16:27 Joined Aug 15, 2012 Messages 14 Aug 17, 2012 #1 Hi. I have a table with names. Start date. End date. For example : sarah 2007-03-04 2011-03-02 I want a query with a record (row) for each year. Thanks
Hi. I have a table with names. Start date. End date. For example : sarah 2007-03-04 2011-03-02 I want a query with a record (row) for each year. Thanks
H hello Registered User. Local time Yesterday, 16:27 Joined Aug 15, 2012 Messages 14 Aug 17, 2012 #2 Or a form there you type in a date range which ends up with all the dates between in a table
C Cerial Registered User. Local time Yesterday, 16:27 Joined Aug 16, 2012 Messages 12 Aug 17, 2012 #3 I think this is what you want: SELECT table1.names, table1.[Start date], table1.[End date] FROM table1 WHERE [Specify Year] BETWEEN Year(table1.[Start date]) AND Year(table1.[End date])
I think this is what you want: SELECT table1.names, table1.[Start date], table1.[End date] FROM table1 WHERE [Specify Year] BETWEEN Year(table1.[Start date]) AND Year(table1.[End date])