the error i get from visual studio is Number of query values and destination fields are not the same.
below is my insert statement
"INSERT INTO tbl_ViewAll(EquipTag, S_Name, S_Function, S_Failure, MC_No, MC_Name, MC_Function)" &
"SELECT EquipTag,S_Name,S_Function,S_Failure FROM tbl_System UNION " &
"SELECT MC_No,MC_Name,MC_Function FROM tbl_MainComp"