I am using access 2003 and trying to write an update query to update a date field. I am trying to combine three fields from different tables to create this date.
All fields are integers. If I run the query for the dbo_dic_Period table cal_num = 1 and year = 2015. From the z_CloseSched table I would get 9 for a date of 1/9/2015.
Any Help is appreciated.
Tom
All fields are integers. If I run the query for the dbo_dic_Period table cal_num = 1 and year = 2015. From the z_CloseSched table I would get 9 for a date of 1/9/2015.
Any Help is appreciated.
Tom
Code:
UPDATE z_CloseSched, dbo_dic_Period SET z_CloseSched.closedt = "#" & [dbo_dic_Period].[cal_num] & "/" & [defdom] & "/" & [dbo_dic_Period].[yr] & "#"
WHERE (((dbo_dic_Period.calpddiff)=0) AND ((z_CloseSched.uci)="AAC"));