I have a form app. I used the insert button to create the record and it worked fine
I then decided not to use the insert button, but rather created a PHP button that did nothing more than insert the record using PHP. It fails due to foreign key. Why might this happen? Is there a difference between the SC Insert and my SC insert code?