Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » How to make a list2 on a non existing child table
Re: How to make a list2 on a non existing child table [message #1911 is a reply to message #1905] Tue, 09 December 2008 10:15 Go to previous messageGo to previous message
bonzo_bcn is currently offline  bonzo_bcn
Messages: 152
Registered: June 2008
Senior Member
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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dynamic Report Column Headings
Next Topic: get calculated field from parent table
Goto Forum:
  


Current Time: Fri Nov 29 07:40:14 EST 2024

Total time taken to generate the page: 0.01305 seconds