Orange, thank you very much for your response! Please see the SQL statement below.
Like I said before, the query was working fine (Access 2000) until newer Office versions were added. There were no changes made to the query. The Access 2000 is still installed. I wanted to keep it to allow for smooth migration to 2003. Now even if I open the database in Access 2000, I am getting this error.
Code:
INSERT INTO [XYZ Activities] ( Activity_ID, Empl_ID, Name, Bureau, Division, Unit, [Squad Or Shift], [Year], [Month], Activity, ID_Yr_Mo )
SELECT Str([fldc_id]) AS Activity_ID, Trim([emdept_id]) AS Empl_ID, Name, Bureau, Division, [Squad or Shift], Year([fcdate]) AS [Year], MonthName(Month([fcdate]),1) AS [Month], tmp_FIs.Activity, ID_Yr_Mo
FROM tmp_FIs INNER JOIN (dbo_emmain INNER JOIN dbo_systab1 ON dbo_emmain.emsection = dbo_systab1.code_agcy) ON tmp_FIs.officerid = dbo_emmain.empl_id
WHERE (((Trim([emdept_id]))<"3000") AND ((dbo_systab1.code_key)="SECT"));