I keep getting errors connecting to the SQL Server from MS Access. I can view the tables, run queries and other insert queries work. This one isn't working... I am connected! The object name is correct - "dbo_T_IMPORT_FDDR_DISCREP"
Insert statement in query object <--- Append query
INSERT INTO dbo_TIMC_DISCREPANCY_INFO ( REQ_NO, WBS_PHASE_ID, PHASE_ID, TRADE_ID, ZONE_ID, AREA_ID, MAL_ID, DISCR_TYPE_ID, CORRTYPE_ID, COND_ID, SEV_ID, LEVEL_ID, ACTION_ID, CL_ID, DISP_ID, WKCTR_ID, NDI_METHOD_ID, WUC_ID, DISCREP_NO, DISCREPANCY_DETAIL, SL, BL, WL, SL_START, BL_START, WL_START, SL_END, BL_END, WL_END, LENGTH, WIDTH, DEPTH, PUB1, TECH, PUB2, EMP_STAMP, ACT_LBR_COST, MRPII_WO_OPN, MRPII_WO, MRPII_PART_NUMBER, MRPII_PART_NOMEN, MATERIAL_COST, DISCREPANCY_DETAIL_ORG )
SELECT dbo_T_IMPORT_FDDR_DISCREP.REQ_NO, dbo_T_IMPORT_FDDR_DISCREP.WBS_PHASE_ID, dbo_T_IMPORT_FDDR_DISCREP.PHASE_ID, dbo_T_IMPORT_FDDR_DISCREP.TRADE_ID, dbo_T_IMPORT_FDDR_DISCREP.ZONE_ID, dbo_T_IMPORT_FDDR_DISCREP.AREA_ID, dbo_T_IMPORT_FDDR_DISCREP.MAL_ID, dbo_T_IMPORT_FDDR_DISCREP.DISCR_TYPE_ID, dbo_T_IMPORT_FDDR_DISCREP.CORRTYPE_ID, dbo_T_IMPORT_FDDR_DISCREP.COND_ID, dbo_T_IMPORT_FDDR_DISCREP.SEV_ID, dbo_T_IMPORT_FDDR_DISCREP.LEVEL_ID, dbo_T_IMPORT_FDDR_DISCREP.ACTION_ID, dbo_T_IMPORT_FDDR_DISCREP.CL_ID, dbo_T_IMPORT_FDDR_DISCREP.DISP_ID, dbo_T_IMPORT_FDDR_DISCREP.WKCTR_ID, dbo_T_IMPORT_FDDR_DISCREP.NDI_METHOD_ID, dbo_T_IMPORT_FDDR_DISCREP.WUC_ID, dbo_T_IMPORT_FDDR_DISCREP.DISCREP_NO, dbo_T_IMPORT_FDDR_DISCREP.DISCREPANCY_DETAIL, dbo_T_IMPORT_FDDR_DISCREP.SL, dbo_T_IMPORT_FDDR_DISCREP.BL, dbo_T_IMPORT_FDDR_DISCREP.WL, dbo_T_IMPORT_FDDR_DISCREP.SL_START, dbo_T_IMPORT_FDDR_DISCREP.BL_START, dbo_T_IMPORT_FDDR_DISCREP.WL_START, dbo_T_IMPORT_FDDR_DISCREP.SL_END, dbo_T_IMPORT_FDDR_DISCREP.BL_END, dbo_T_IMPORT_FDDR_DISCREP.WL_END, dbo_T_IMPORT_FDDR_DISCREP.LENGTH, dbo_T_IMPORT_FDDR_DISCREP.WIDTH, dbo_T_IMPORT_FDDR_DISCREP.DEPTH, dbo_T_IMPORT_FDDR_DISCREP.PUB1, dbo_T_IMPORT_FDDR_DISCREP.TECH, dbo_T_IMPORT_FDDR_DISCREP.PUB2, dbo_T_IMPORT_FDDR_DISCREP.EMP_STAMP, dbo_T_IMPORT_FDDR_DISCREP.ACT_LBR_COST, dbo_T_IMPORT_FDDR_DISCREP.MRPII_WO_OPN, dbo_T_IMPORT_FDDR_DISCREP.MRPII_WO, dbo_T_IMPORT_FDDR_DISCREP.MRPII_PART_NUMBER, dbo_T_IMPORT_FDDR_DISCREP.MRPII_PART_NOMEN, dbo_T_IMPORT_FDDR_DISCREP.MATERIAL_COST, dbo_T_IMPORT_FDDR_DISCREP.DISCREPANCY_DETAIL_ORG
FROM dbo_T_IMPORT_FDDR_DISCREP;
Thank you!
Insert statement in query object <--- Append query
INSERT INTO dbo_TIMC_DISCREPANCY_INFO ( REQ_NO, WBS_PHASE_ID, PHASE_ID, TRADE_ID, ZONE_ID, AREA_ID, MAL_ID, DISCR_TYPE_ID, CORRTYPE_ID, COND_ID, SEV_ID, LEVEL_ID, ACTION_ID, CL_ID, DISP_ID, WKCTR_ID, NDI_METHOD_ID, WUC_ID, DISCREP_NO, DISCREPANCY_DETAIL, SL, BL, WL, SL_START, BL_START, WL_START, SL_END, BL_END, WL_END, LENGTH, WIDTH, DEPTH, PUB1, TECH, PUB2, EMP_STAMP, ACT_LBR_COST, MRPII_WO_OPN, MRPII_WO, MRPII_PART_NUMBER, MRPII_PART_NOMEN, MATERIAL_COST, DISCREPANCY_DETAIL_ORG )
SELECT dbo_T_IMPORT_FDDR_DISCREP.REQ_NO, dbo_T_IMPORT_FDDR_DISCREP.WBS_PHASE_ID, dbo_T_IMPORT_FDDR_DISCREP.PHASE_ID, dbo_T_IMPORT_FDDR_DISCREP.TRADE_ID, dbo_T_IMPORT_FDDR_DISCREP.ZONE_ID, dbo_T_IMPORT_FDDR_DISCREP.AREA_ID, dbo_T_IMPORT_FDDR_DISCREP.MAL_ID, dbo_T_IMPORT_FDDR_DISCREP.DISCR_TYPE_ID, dbo_T_IMPORT_FDDR_DISCREP.CORRTYPE_ID, dbo_T_IMPORT_FDDR_DISCREP.COND_ID, dbo_T_IMPORT_FDDR_DISCREP.SEV_ID, dbo_T_IMPORT_FDDR_DISCREP.LEVEL_ID, dbo_T_IMPORT_FDDR_DISCREP.ACTION_ID, dbo_T_IMPORT_FDDR_DISCREP.CL_ID, dbo_T_IMPORT_FDDR_DISCREP.DISP_ID, dbo_T_IMPORT_FDDR_DISCREP.WKCTR_ID, dbo_T_IMPORT_FDDR_DISCREP.NDI_METHOD_ID, dbo_T_IMPORT_FDDR_DISCREP.WUC_ID, dbo_T_IMPORT_FDDR_DISCREP.DISCREP_NO, dbo_T_IMPORT_FDDR_DISCREP.DISCREPANCY_DETAIL, dbo_T_IMPORT_FDDR_DISCREP.SL, dbo_T_IMPORT_FDDR_DISCREP.BL, dbo_T_IMPORT_FDDR_DISCREP.WL, dbo_T_IMPORT_FDDR_DISCREP.SL_START, dbo_T_IMPORT_FDDR_DISCREP.BL_START, dbo_T_IMPORT_FDDR_DISCREP.WL_START, dbo_T_IMPORT_FDDR_DISCREP.SL_END, dbo_T_IMPORT_FDDR_DISCREP.BL_END, dbo_T_IMPORT_FDDR_DISCREP.WL_END, dbo_T_IMPORT_FDDR_DISCREP.LENGTH, dbo_T_IMPORT_FDDR_DISCREP.WIDTH, dbo_T_IMPORT_FDDR_DISCREP.DEPTH, dbo_T_IMPORT_FDDR_DISCREP.PUB1, dbo_T_IMPORT_FDDR_DISCREP.TECH, dbo_T_IMPORT_FDDR_DISCREP.PUB2, dbo_T_IMPORT_FDDR_DISCREP.EMP_STAMP, dbo_T_IMPORT_FDDR_DISCREP.ACT_LBR_COST, dbo_T_IMPORT_FDDR_DISCREP.MRPII_WO_OPN, dbo_T_IMPORT_FDDR_DISCREP.MRPII_WO, dbo_T_IMPORT_FDDR_DISCREP.MRPII_PART_NUMBER, dbo_T_IMPORT_FDDR_DISCREP.MRPII_PART_NOMEN, dbo_T_IMPORT_FDDR_DISCREP.MATERIAL_COST, dbo_T_IMPORT_FDDR_DISCREP.DISCREPANCY_DETAIL_ORG
FROM dbo_T_IMPORT_FDDR_DISCREP;
Thank you!