B
bradjensmith
I have a query that I use to set a flag based on a left join. For some
reason, everyone is getting the LOAD_IND flag set to "Y", even though
their External_ID field is null (i.e. they don't exist on the
SP_PERS_TRNSLTN_T table. Thoughts?
Trns_Tbl = "SELECT in_recs.*, HCDSADM_SP_PERS_TRNSLTN_T.*,
IIf([EXTERNAL_ID] Is Not Null,'N','Y') AS LOAD_IND " & _
"FROM in_recs LEFT JOIN HCDSADM_SP_PERS_TRNSLTN_T ON in_recs.[C.EMPLID]
= HCDSADM_SP_PERS_TRNSLTN_T.EXTERNAL_ID ;"
reason, everyone is getting the LOAD_IND flag set to "Y", even though
their External_ID field is null (i.e. they don't exist on the
SP_PERS_TRNSLTN_T table. Thoughts?
Trns_Tbl = "SELECT in_recs.*, HCDSADM_SP_PERS_TRNSLTN_T.*,
IIf([EXTERNAL_ID] Is Not Null,'N','Y') AS LOAD_IND " & _
"FROM in_recs LEFT JOIN HCDSADM_SP_PERS_TRNSLTN_T ON in_recs.[C.EMPLID]
= HCDSADM_SP_PERS_TRNSLTN_T.EXTERNAL_ID ;"