Hi, I am trying to populate a spreadsheet from SQL Server. I want to get the last Period for the 2 previous fiscal years and then the most recent 2 months of the current Fy
Example : 6/30/2003, 6/30/2004, 8/31/2004, 9/30/2004. I am trying this using a union query. I know it can be done by using static criteria but I would like to get the 2 most recent periods without having to change the SQL each month when an update is performed. Any ideas?
Example : 6/30/2003, 6/30/2004, 8/31/2004, 9/30/2004. I am trying this using a union query. I know it can be done by using static criteria but I would like to get the 2 most recent periods without having to change the SQL each month when an update is performed. Any ideas?