hsingh1981
Programmer
Hi all,
Am trying to do an update query, Which updates the exam results field if the intervention id is 630
and also update the labresults if the intervention id is 6730.
I tried attempting something myself and it updates everything in the exam results and not the lab results?
Any ideas so that it also updates the DISC_Labs_Relav_Diag_Results?
cheers
Am trying to do an update query, Which updates the exam results field if the intervention id is 630
and also update the labresults if the intervention id is 6730.
I tried attempting something myself and it updates everything in the exam results and not the lab results?
Code:
UPDATE Q_DischargeSum3 INNER JOIN [DS Main] ON Q_DischargeSum3.patientId = [DS Main].PID SET [DS Main].EXAM_Results = [Q_DischargeSum3]![valueString], [DS Main].DISC_Labs_Relav_Diag_Results = [Q_DischargeSum3]![valueString]
WHERE (((Q_DischargeSum3.interventionId)=IIf([interventionId]=730,730,IIf([interventionId]=6730,6730))));
Any ideas so that it also updates the DISC_Labs_Relav_Diag_Results?
cheers