G
Guest
I'm getting the error message "data type mismatch in criteria expression" when running the following union query
SELECT RecID, PeriodName, GDYEAR, GDMNTH, SalonID, EmplID, PRCNM, PRDOHE, JobCode, Account, Payrol
FROM [qsel Independant Contractors]
UNION ALL SELECT RecID, PeriodName, GDYEAR, GDMNTH, SalonID, EmplID, PRCNM, PRDOHE, JobCode, Account, Payrol
FROM [qsel Payroll (AS/400)]
Any ideas what is causing this error message to appear
SELECT RecID, PeriodName, GDYEAR, GDMNTH, SalonID, EmplID, PRCNM, PRDOHE, JobCode, Account, Payrol
FROM [qsel Independant Contractors]
UNION ALL SELECT RecID, PeriodName, GDYEAR, GDMNTH, SalonID, EmplID, PRCNM, PRDOHE, JobCode, Account, Payrol
FROM [qsel Payroll (AS/400)]
Any ideas what is causing this error message to appear