Please bare with me as I'm really new to Progress and I'm trying to make headway.
What's wrong with this statement? It just hangs . . . Am I trying to complicate things again?
for each ck_mstr no-lock,
each ap_mstr no-lock where ap_mstr.ap_ref = ck_mstr.ck_ref
and ap_effdate >=st-dt and ap_effdate <=end-dt,
each ad_mstr no-lock where ad_mstr.ad_name = ap_mstr.ap_vend:
if available ad_mstr then name = ad_name.
if available ck_mstr then chknbr = ck_nbr.
end.
What's wrong with this statement? It just hangs . . . Am I trying to complicate things again?
for each ck_mstr no-lock,
each ap_mstr no-lock where ap_mstr.ap_ref = ck_mstr.ck_ref
and ap_effdate >=st-dt and ap_effdate <=end-dt,
each ad_mstr no-lock where ad_mstr.ad_name = ap_mstr.ap_vend:
if available ad_mstr then name = ad_name.
if available ck_mstr then chknbr = ck_nbr.
end.