Hello,
I have an application that uses an Excel database.
I would like to automate the data change of my excel tables so that the data changes on January 1, 2023 without my intervention. Indeed, each year the data of my table changes.
I thought of creating a 2022 and a 2023 column and when I make a call, I put a condition:
If(Text(Year(Now()))="2022"; LookUp(TabFamilles;Famillesachats=dcFamille.Selected.Famillesachats;'2022');
LookUp(TabFamilles;Famillesachats=dcFamille.Selected.Famillesachats;'2023'))
But it's not optimal, because it adds a lot of conditions in my code.
Thanks in advance to those who help.
Have a good day.