[FX.php List] Script parameter in FX?
Chris Hansen
chris at iViking.org
Wed Apr 10 10:14:56 MDT 2013
Ted,
Sorry, there isn't a function specifically for this yet, but it can be easily done with what's already in place. You just need to do a call to AddDBParam() with one of the following (depending on whether your script is prefind, presort, or default):
-script.prefind.param
-script.presort.param
-script.param
So, the call would look something like this:
$myFXInstance->AddDBParam('-script.param', 'huzzah');
HTH
--Chris
On Apr 10, 2013, at 9:26 AM, Ted Stein wrote:
> Hi,
>
> Is is possible to pass a script parameter using FX.php?
>
> With the FileMaker API, you can do this:
>
> $fm = new FileMaker($database, $hostname, $username, $password);
> $script = $fm->newPerformScriptCommand($layout, $name, $parameter);
> $script->execute();
>
> Is there a way to pass a parameter to a script in FX?
>
> Thanks in advance,
> Ted
> _______________________________________________
> 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