This topic is locked

Master-Detail inline add not working 5.2

2/5/2010 10:13:53 PM
PHPRunner General questions
K
krisrianto author

Master detail inline add not working right because the inline add not inserting the foreign key automatically into the child record.

Sergey Kornilov admin 2/5/2010

Something is not right here.
Publish your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your application URL. 'Demo Account' button can be found on the last screen ('Finished') in the program.

K
krisrianto author 2/6/2010

latest news: I figured out the master detail does not work right with php 5.3.0 and up. I tried with older version of php and it works

J
Jane 2/9/2010

Hi,
Please zip your project file and database creation script and open a ticket at http://support.xlinesoft.com sending your files along with instructions on reproducing this error.

K
KevinMillican 2/9/2010



Hi,
Please zip your project file and database creation script and open a ticket at http://support.xlinesoft.com sending your files along with instructions on reproducing this error.


I'm noticing this problem as well. I get an error messsage saying the particular key field can't be Null.
I have some more checks to do but I'm wondering if it's because the parent table is read-only and a simple integer (not autoincrementing) as its key field.

ie. I have

  • a Parent table with an integer field called uid
  • a child table with an autoincrementing integer field calledcommentid and the 2nd field is called uid to link it to the primary table

Real basic stuff - you'd think it would work easily

K
KevinMillican 2/10/2010



Something is not right here.


I think I've got an idea what's going wrong. There are all sorts of problems if you put an alias on a key field.

R
Rens1976 2/11/2010

I also have this problem. The error tells me I can't have my key as a null value. How can we fix this? I need child records in my web page!

K
KevinMillican 2/12/2010



I also have this problem. The error tells me I can't have my key as a null value. How can we fix this? I need child records in my web page!


Does your key field have an alias too? - I worked round the problem on my database by removing the key fieldname alias.

K
KevinMillican 2/21/2010

Is anyone from Xlinesoft going to acknowledge this as a bug ?

Sergey Kornilov admin 2/23/2010

Kevin,
you need to contact support team directly. I recommend to post your application to Demo Account first so we can see your files and database.