A
Al
I have a table named "BuildingDetails_06".Next year a new table will replace
it and will be named "BuildingDetails_07". I am trying to build a query that
does not require the user to go in the design every year to rename the table
in this query or other queries that may be using this table. I have tried the
following but it does not work. due to the FROM Clause.
****************************************************
SELECT Area, subsystem, Format(DateAdd("yyyy",0,Date()),"yyyy") as [FY],
[FY1] as [Total]
FROM BuildingDetails_ & Format(DateAdd("yyyy",-1,Date()),"yy")
*******************************************************
can some one help?
thanks
Al
it and will be named "BuildingDetails_07". I am trying to build a query that
does not require the user to go in the design every year to rename the table
in this query or other queries that may be using this table. I have tried the
following but it does not work. due to the FROM Clause.
****************************************************
SELECT Area, subsystem, Format(DateAdd("yyyy",0,Date()),"yyyy") as [FY],
[FY1] as [Total]
FROM BuildingDetails_ & Format(DateAdd("yyyy",-1,Date()),"yy")
*******************************************************
can some one help?
thanks
Al