[FX.php List] Can we run scripts on filemaker using FX?

Louie Miranda lmiranda at gmail.com
Wed Oct 27 00:00:49 MDT 2004


So guys how do we work on this? i have this but it returns a error response.
i have a script TimeStamp, that when access put something on a field.

but never worked.


//$some_query->AddDBParam("-script", "name_of_the_script");

// connect
$query = new FX("192.168.10.11", "8080");
$query -> SetDBData("TempDBF.fp5", "AllFields");

//find
$query -> AddDBParam("-script", "TimeStamp");
$query -> AddDBParam('RecordNo', 1);
$data1 = $query->FMFind();

foreach ($data1['data'] as $key => $value){
$currentRecord = strtok($key,'.');
}

//edit
$query -> AddDBParam('-recid', $currentRecord);
$query -> AddDBParam('Description', "WALA");
$data2 = $query->FMEdit();

-- 
Louie Miranda
http://www.axishift.com


More information about the FX.php_List mailing list