Thanks,I'm getting closer, so in my inner class table I have:
function _cm_pre_getData ($where, $where_array, $fieldarray=null){
$this->skip_getdata = true;
$this->fieldarray= $this->getData_raw($where);
return $where;
}
and it works great, for every parent it displays the correct child records.
The only problem now is that in the list1 screen, if I only select one parent and click on the list2 button, it retrieves all the parent records instead of retrieving only the selected one.
The generated .sql file has the correct sql statement though.
Do you know where the problem could be?
Thanks!
[Updated on: Tue, 09 December 2008 10:19]
Report message to a moderator