I have an Access 2003 database with a query that works fine on my PC
but does not work on another PC. My PC has older versions of Access
installed as well as 2003 - the other PC only has Access 2003.
The query is as follows:
SELECT tblOrganization .strOrgName, tblPerson.strNa meL,
tblPerson.strNa meF, tblPersonFCL_Co urses.lngIDPers on,
tblPersonFCL_Co urses.strHOTest , tblPersonFCL_Co urses.strCert,
tblPersonFCL_Co urses.ysnProces sed, tblStaffCert.ID Person,
tblStaffCert.st rCert
FROM (tblOrganizatio n INNER JOIN tblPerson ON
tblOrganization .IDorganization = tblPerson.lintF KOrganization) INNER
JOIN (tblPersonFCL_C ourses LEFT JOIN tblStaffCert ON
(tblPersonFCL_C ourses.strCert = tblStaffCert.st rCert) AND
(tblPersonFCL_C ourses.lngIDPer son = tblStaffCert.ID Person)) ON
tblPerson.IDPer son = tblPersonFCL_Co urses.lngIDPers on
WHERE (((tblPersonFCL _Courses.lngIDP erson) Not In (select lngIDPerson
from tblPersonFCL_Co urses where strCert="ML" and ysnProcessed =
false)) AND ((tblPersonFCL_ Courses.strCert )="ML") AND
((tblPersonFCL_ Courses.ysnProc essed)=True) AND
((tblStaffCert. IDPerson) Is Null));
When I run this query on my PC, it returns one record (which is
correct).
When we run the query on the problem PC - it returns a different
record, but it is in some sort of loop because we get hundreds of
records (all the same person - yet a different record from what
appears on the other PC with the same data files). We have to control
break to get out of this query.
I'm trying to resolve this remotely - I've got a fresh copy of both
the front end and back end that is on the problem PC... I can't
recreate any problems - all works great on mine.
We have tried:
compact/repair
new blank database for both front and back end, importing all objects
autoname correct is turned off
double-checked all library references and order of same (am using dao
3.6, excel and outlook libraries along with the standard vba, access
11, OLE automation and Active X Data objects)
We also tried converting it to Access 2000 format on both PC's - the
converted one works great on mine, does not work on the client PC -
returns the same error.
Any ideas of what else to check??
Thanks in advance.