[eluser]dcallan[/eluser]
Hey thanks for the reply, I didn't want to go a join as getProduct is a function needed by other parts of the system in its own right, so I thought why not just use what I have elsewhere... I'm trying to build my system without any joins as I believe that's they way active record/active pattern is too work.. it's a small system so its probably doesn't matter much either way.
I got it working though, what I had to do was access it through the main CI object so in
the model method where I wanted to call another separate model I had this
$CI =& get_instance(); $CI->load->model('bll/Product_bll');
and then access it with this:
$CI->Product_bll->getProduct($row->itemCode);
I tried to put the get_instance line into my containing model but getting reference errors, but anyhow it works if its in the actual containing method, maybe there's a cleaner way to do this, I'm not sure.
cheers.