Tom
I figured out number 1 on your last post last night. I can see why this is not working but at the moment cannot see how I cam going to do this.
AgencyID is not present in the CreditChecks BO only the AgencyCode. So I need a way of linking the loggedinUser (The Temp from the Temp BO) to the CreditChecks.AgencyCode attribute
What I need to do is something like this
FIND CreditChecks WHERE CreditChecks.AgencyCode=Temp.AgencyCode AND CreditChecks.DebtorStatus='OK'
The Temp.AgencyCode is for the current logged in Temp and then find the clients only for his agency. I cannot have temps viewing other agency clients! Clients are stored in the CreditChecks BO