B
Brigitte P
I have done many times left or right outer joins, and things worked fine.
Now they don't, and I found on the Microsoft support site that this is a
known bug and one should download the latest ServicePack for Jet 4 - Service
Pack 8. I have 4.00.8618.0 which should be fine. But I did another download
and run it to problems. It would not install from my computer (not a valid
Win32 application), so I installed it from the download site. It didn't make
any difference. I tried the work around from Article 275058, but that didn't
work either maybe because I'm SQL challenged. Here is the SQL from the
original query:
SELECT tblLookupInfectionType.INFCODE1, tblLookupInfectionType.INFNOTE1,
tblInfection.INFDATE
FROM tblLookupInfectionType LEFT JOIN tblInfection ON
tblLookupInfectionType.INFCODE1 = tblInfection.INFCODE1
WHERE (((tblInfection.INFDATE) Between [Forms]![frmStartup]![txtStartDate]
And [Forms]![frmStartup]![txtEndDate]));
According to 275058, the work around should include a Subquery entered after
the LEFT JOIN [SELECT * FROM tblLookupInfectionType WHERE INFCODE >0] - this
is my interpretation of the workaround for my application.
What I want are all records from tblLookupInfectionType and then the records
from tblInfections where the Date is pulled from frmStartup .......
The result should be a set of records without a date from the tblInfections
for some records (this means that the infection type did not occur during
the reporting period). As I said, I have done it many times in A97
databases, but I'm afraid that after conversion to XP, all of our databases
with outer joins maybe wrong because of the bug.
Help, please.
Brigitte P.
Now they don't, and I found on the Microsoft support site that this is a
known bug and one should download the latest ServicePack for Jet 4 - Service
Pack 8. I have 4.00.8618.0 which should be fine. But I did another download
and run it to problems. It would not install from my computer (not a valid
Win32 application), so I installed it from the download site. It didn't make
any difference. I tried the work around from Article 275058, but that didn't
work either maybe because I'm SQL challenged. Here is the SQL from the
original query:
SELECT tblLookupInfectionType.INFCODE1, tblLookupInfectionType.INFNOTE1,
tblInfection.INFDATE
FROM tblLookupInfectionType LEFT JOIN tblInfection ON
tblLookupInfectionType.INFCODE1 = tblInfection.INFCODE1
WHERE (((tblInfection.INFDATE) Between [Forms]![frmStartup]![txtStartDate]
And [Forms]![frmStartup]![txtEndDate]));
According to 275058, the work around should include a Subquery entered after
the LEFT JOIN [SELECT * FROM tblLookupInfectionType WHERE INFCODE >0] - this
is my interpretation of the workaround for my application.
What I want are all records from tblLookupInfectionType and then the records
from tblInfections where the Date is pulled from frmStartup .......
The result should be a set of records without a date from the tblInfections
for some records (this means that the infection type did not occur during
the reporting period). As I said, I have done it many times in A97
databases, but I'm afraid that after conversion to XP, all of our databases
with outer joins maybe wrong because of the bug.
Help, please.
Brigitte P.