VendTable VendTable; DirPerson DirPerson; DirNameAffix DirNameAffix; ; select DirNameAffix join DirPerson where DirPerson.PersonalTitle == DirNameAffix.RecId && DirNameAffix.AffixType == DirNameAffixType::PersonalPrefix join VendTable where VendTable.Party == DirPerson.RecId && VendTable.AccountNum == 'SmcVendP001'; info(strFmt('Affix: %1',DirNameAffix.Affix));
↧