This topic is locked

Master Detail Problem

12/11/2008 2:27:54 PM
PHPRunner General questions
A
agadret author

PHPrunner 5 build 689
It seems extremely basic but I am not being able to make it work:
I have a master table named 'orders' and a detail table named 'order_details'. (northwind database)

I have set up the correct (I think) relationship on the 'Datasource Tables' page using the common 'Order_ID'.
As far as I read, this was all I should do for a working master detail project.

But when I try to add a detail record (from the master list) it doesn´t apply the correct order_id on the new order_details record.
Am I missing something or I should do it 'manually', hiding the detail order_id field and setting it to $_SESSION[$strTableName."_masterkey1"] ?

J
Jane 12/12/2008

Hi,
you don't need to fill detail key field manually.

It's difficult to tell you what's happening without seeing actual files.
Please publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.

A
agadret author 12/12/2008

Thank you.
My PHP.ini was messed up.