R
Richard Choate
When I run my code with the SQL below, it gives me fewer records and some
repeated records within the set than if I use that exact same SQL in a
standard select query. I literally copied the SQL you see here and pasted it
in a query and got vastly different results (400 fewer records and some
records were repeated 15 or 20 times). Does anybody have a clue what could
be happening?
mySQL3 = "SELECT tblHistory.EID, EmpBasic.FullName, tblDate, Period, [Gross
Pay], " & _
"FICABase, [401K], Medical, Medicare, DefBen, Travel, " & _
"Overtime, CumWages, CumFICA, CumMedicare, [FICABase]+[Medicare] " & _
"AS Taxes, BonusType FROM EmpBasic INNER JOIN tblHistory ON EmpBasic.EID =
tblHistory.EID;"
Thanks,
Richard Choate, CPA
repeated records within the set than if I use that exact same SQL in a
standard select query. I literally copied the SQL you see here and pasted it
in a query and got vastly different results (400 fewer records and some
records were repeated 15 or 20 times). Does anybody have a clue what could
be happening?
mySQL3 = "SELECT tblHistory.EID, EmpBasic.FullName, tblDate, Period, [Gross
Pay], " & _
"FICABase, [401K], Medical, Medicare, DefBen, Travel, " & _
"Overtime, CumWages, CumFICA, CumMedicare, [FICABase]+[Medicare] " & _
"AS Taxes, BonusType FROM EmpBasic INNER JOIN tblHistory ON EmpBasic.EID =
tblHistory.EID;"
Thanks,
Richard Choate, CPA