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

Gjermund Gusland Thorsen ggt667 at gmail.com
Wed Oct 27 02:49:10 MDT 2004


I only used it with FileMaker 6 unlimited and it worked just fine.

Never tried it with FM7SA though..

But usually it's more efficient to use php to do that calculation,
only reason not to use php to populate the field, is if the script
is used by the ordinary FileMaker Pro user as well, then it's
smarter to have the script just once in ScriptMaker.

Gjermund

On Wed, 27 Oct 2004 14:00:49 +0800, Louie Miranda <lmiranda at gmail.com> wrote:
> 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
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>


More information about the FX.php_List mailing list