G
Guest
I am running the following sql from my vba code. I need to add a field to a
table and set its default to ("FY" concatenated with current year "YY"). I am
getting all sort of error messages. can some one tell me why?
thanks
here is my sql:
*************************************
"ALTER TABLE BuildingDetails_Temp ADD COLUMN ArchiveYear Text(10) DEFAULT
'FY' & #" & Format(DateAdd("yy", 1, Date), "yy") & "#"
***************************************
Al
table and set its default to ("FY" concatenated with current year "YY"). I am
getting all sort of error messages. can some one tell me why?
thanks
here is my sql:
*************************************
"ALTER TABLE BuildingDetails_Temp ADD COLUMN ArchiveYear Text(10) DEFAULT
'FY' & #" & Format(DateAdd("yy", 1, Date), "yy") & "#"
***************************************
Al