Script to pull in Client Sort Field, Client Number from CCH Practice when client status is active.
note: 	c.engstatus = '1' is inactive status
	c.engstatus = '0' is active status

SELECT CltSort, Cltnum + '.' + CltEng FROM Clients WHERE engstatus = ‘0’

Script to pull Client Sort Field, Client Number, Employee Email where client status is active.

Select c.Cltsort, c.Cltnum, coalesce(e.EmpEmail,'') from dbo.Clients c inner join dbo.Employee e on c.Engcltptr = e.ID and c.engstatus = ‘0’
