Good Morning,
I have a function that calculates Holidays from Easter Sunday..(thanks again to this forum)
The FT1 to FT25 variables are declared as Dates.
I want to send these dates to a local table.
Is there a way of doing this without having to code 25 Addnews?
I was think something like For I=1 to 25
FTDays.AddNew
FTDays![FTDate] = "FT" & I
FTDays.Update
Next I
but that doesn't work
Or am I thinking eutopia?
******************
FT17 = DateSerial(Intjahr, 12, 24)
FT18 = DateSerial(Intjahr, 12, 25)
FT19 = DateSerial(Intjahr, 12, 26)
FT20 = DateSerial(Intjahr, 12, 31)
FT21 = DateSerial(Intjahr, 10, 31)
FT22 = FT1 - 3
FTDays.AddNew
FTDays![FTDate] = FT17
FTDays.Update
FTDays.AddNew
FTDays![FTDate] = FT18
FTDays.Update
FTDays.AddNew
FTDays![FTDate] = FT19
FTDays.Update
********************************
Thanks !
I have a function that calculates Holidays from Easter Sunday..(thanks again to this forum)
The FT1 to FT25 variables are declared as Dates.
I want to send these dates to a local table.
Is there a way of doing this without having to code 25 Addnews?
I was think something like For I=1 to 25
FTDays.AddNew
FTDays![FTDate] = "FT" & I
FTDays.Update
Next I
but that doesn't work
Or am I thinking eutopia?

******************
FT17 = DateSerial(Intjahr, 12, 24)
FT18 = DateSerial(Intjahr, 12, 25)
FT19 = DateSerial(Intjahr, 12, 26)
FT20 = DateSerial(Intjahr, 12, 31)
FT21 = DateSerial(Intjahr, 10, 31)
FT22 = FT1 - 3
FTDays.AddNew
FTDays![FTDate] = FT17
FTDays.Update
FTDays.AddNew
FTDays![FTDate] = FT18
FTDays.Update
FTDays.AddNew
FTDays![FTDate] = FT19
FTDays.Update
********************************
Thanks !