AnsweredAssumed Answered


Question asked by sfmoore2000 on Jan 24, 2013
Latest reply on Jan 28, 2013 by sfmoore2000

Hi Team,


Does anyone know of a reason why I cannot get a simple script to fire using the newPerformScriptCommand. I am running Filemaker 12 Pro Advanced, and have checked the security and everything seems ok. Could I possibly be missing something in my database setup? Here is the code that I am running:




include ('dbaccess.php');



<form action="RunScript.php" method="post" name="Delete">

<!--Click the Delete button to run the Cash Records Delete script-->

<input name="Delete" type="submit" value="Delete" />




if(isset($_POST['Delete']) and $_POST['Delete'] == 'Delete')


$layout = 'Family_Accounts';

$script = 'Cash Records Delete';

$parameter = '';


//Call the script with the parameter

$script_object = $fm->newPerformScriptCommand($layout, $script, $parameter);



//Run the script

$script_result = $script_object->execute();


Any help anyone can provide will be greatly appreciated,

Thank You,