Ernesto_Paez
MIS
Hi everyone little late but happy new year
just a silly question.
i have a table that has a date field named "Hdate" and a few records with different dates as those are holidays in USA so i want each year to change just the year of those dates with the current year
for example.
now i have in the field Hdate these records
05/30/2018 &&this is memorial day
07/04/2018 &&this is independence day
so i want each beginning of the year, click on a button use the table holiday and go through the table and replace the year with the year(date())
so i just tried to go to the first record and did the following.
replace year(hdate) with year(date())
of course it did not work for me.
any help is very appreciated
just a silly question.
i have a table that has a date field named "Hdate" and a few records with different dates as those are holidays in USA so i want each year to change just the year of those dates with the current year
for example.
now i have in the field Hdate these records
05/30/2018 &&this is memorial day
07/04/2018 &&this is independence day
so i want each beginning of the year, click on a button use the table holiday and go through the table and replace the year with the year(date())
so i just tried to go to the first record and did the following.
replace year(hdate) with year(date())
of course it did not work for me.
any help is very appreciated