I mean if there a ready to use sample or a url explain that idea, you can support me with .
There isn't because this is not a relational design. It is a spreadsheet design.
There are two potential solutions.
1. If you never want to use the data from multiple BEs at one time, then use a single FE and relink the tables. It doesn't matter what the name of the database is, as long as the table names are identical in the two versions, you can link to 2023 when you want to see data for 2023 and you can link to 2024 when you want to see data for 2024. No coding or object changes are required.
2. If you want to be able to use the data from the two BEs at the same time, then you need to actually fix the design problem. To do that, you will need to merge the two databases. If there are relationships, this can be a bit complicated but you can still do it in a fairly short amount of time. But, before you merge the data, you need to modify your queries so that you can use forms with date fields to filter the data. That way you can get one year or multiple years depending on the start and end dates in your parameters.
I would fix the problem. You seem to have two years now. Next year, there will be three unless you decide to throw away the application due to the design flaw. We can give you details and help you to make a plan to merge the data. It is a one time effort but since it is not trivial, you probably want to automate it so you will build append queries that are controlled by VBA so that they run in the correct order and you don't miss anything. One thing that will make the conversion easier is to assign new PKs and FKs for the merged database. But, to facilitate the merge, you will need two additional columns temporarily. You need the source year and the old PK/FK. Once the conversion is complete and you're sure everything is accounted for - reports that run in the old db are identical to reports run from the new db using date ranges, then you can remove the two temp columns and you're good to go. One BE that holds ALL the data now and forever
