Re: Access non key data from parent table [message #1639 is a reply to message #1638] |
Thu, 11 September 2008 14:58 |
AJM
Messages: 2368 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
You are confusing me. You said that $where was being initialised when in fact it is passed to the initialise() method, which is something else entirely.
If the input string to initialise() contains the values that you want, but some are being filtered out with the filterWhere() function, then you are correct in saying that the list of fields which should not be filtered out can be customised with the _cm_filterWhere() method. When you step through with your debugger the comments I have in my code should explain what each function does.
When you report a problem such as this it is important to identify where you are having the problem - in the parent task or the child task - and whether you are having a problem putting values into the selection criteria *before* they are passed to the child task, or having values filtered out *during* the processing of the child task. It is no good me investigating what is going on in the processing of the parent task if the problem actually lies in the processing of the child task.
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|