I have three tables A,B and C. Tables A and C are related through B.
My find method needs to be able to search fields from A, B and C simultaneously.
In my find method I would like to be able to domething like:
forms.A.controller.find();
forms.A.fielda = sometexta;
forms.A.A_to_B.fieldb = sometextb;
forms.A.A_to_B.B_to_C.fieldc = sometextc; // this is the one I cant do!
forms.A.controller.search();
Is there a way to do this?
Thanks, any alternative suggestions on how this should be done would be appreciated.