I Have added custom fields to Help Desk Tickets (Branch & Department). Trick is some branches do not have departments. So if I add the 'htblticketcustomfield2.tickettypefieldid = 48' (48 is our Department field) to the Where part I only get records ...