M
msmcnewsxp
i need to update 3 fields based on whether or not a record exists in 3
different tables.
this doesn't work but what will?
UPDATE ((tblDIRECTVIRUS INNER JOIN tblSpecimenProfiles ON
tblDIRECTVIRUS.CASE_NUMBER = tblSpecimenProfiles.CASE_NUMBER) INNER JOIN
tblSerology ON tblSpecimenProfiles.CASE_NUMBER = tblSerology.CASE_NUMBER)
INNER JOIN tblIDPA ON tblSpecimenProfiles.CASE_NUMBER = tblIDPA.CASE_NUMBER
SET tblSpecimenProfiles.DIRECT_VIRUS = True
WHERE (((tblSpecimenProfiles.CASE_NUMBER)=[tblDIRECTVIRUS].[case_number]))
tblSpecimenProfiles.SEROLOGY = True
WHERE (((tblSpecimenProfiles.CASE_NUMBER)=[tblSEROLOGY].[case_number])),
tblSpecimenProfiles.IDPA = True
WHERE (((tblSpecimenProfiles.CASE_NUMBER)=[tblIDPA].[case_number]));
thanks,
mcnews
different tables.
this doesn't work but what will?
UPDATE ((tblDIRECTVIRUS INNER JOIN tblSpecimenProfiles ON
tblDIRECTVIRUS.CASE_NUMBER = tblSpecimenProfiles.CASE_NUMBER) INNER JOIN
tblSerology ON tblSpecimenProfiles.CASE_NUMBER = tblSerology.CASE_NUMBER)
INNER JOIN tblIDPA ON tblSpecimenProfiles.CASE_NUMBER = tblIDPA.CASE_NUMBER
SET tblSpecimenProfiles.DIRECT_VIRUS = True
WHERE (((tblSpecimenProfiles.CASE_NUMBER)=[tblDIRECTVIRUS].[case_number]))
tblSpecimenProfiles.SEROLOGY = True
WHERE (((tblSpecimenProfiles.CASE_NUMBER)=[tblSEROLOGY].[case_number])),
tblSpecimenProfiles.IDPA = True
WHERE (((tblSpecimenProfiles.CASE_NUMBER)=[tblIDPA].[case_number]));
thanks,
mcnews