[FX.php List] Passing a script parameter with PerformFMScript
Bob Patin
bob at patin.com
Sun Aug 30 16:08:32 MDT 2009
Troy,
So you ARE passing a parameter then? The docs don't really spell it
out too well...
I got around it by just writing to a field in the record I was
posting, but this is good to know; thanks,
Bob Patin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: new_logo_idea3_120w.jpg
Type: image/jpeg
Size: 15728 bytes
Desc: not available
Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20090830/ccc7f7ce/new_logo_idea3_120w-0001.jpg
-------------- next part --------------
Longterm Solutions LLC
P.O. Box 3408
Brentwood, TN 37024
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com
iChat: bobpatin
Twitter: bobpatin
FileMaker 10 Certified Developer
Member of FileMaker Business Alliance and FileMaker TechNet
--------------------------
FileMaker hosting and consulting for all versions of FileMaker
PHP ? Full email services ? Free DNS hosting ? Colocation ? Consulting
On Aug 30, 2009, at 5:00 PM, Troy Meyers wrote:
> Bob,
>
> Here are some examples I've used:
>
> // Pre-sort
> $ppw_add->PerformFMScriptPresort('WhatNewKeepSpS');
> $ppw_add->AddDBParam('-script.presort.param',$userid);
>
> // Pre-command
> $ppw_add->PerformFMScriptPrefind('WhatNewKeepSpF');
> $ppw_add->AddDBParam('-script.prefind.param',$userid);
>
> // Post-command
> $ppw_add->PerformFMScript('IPN post-command');
> $ppw_add->AddDBParam('-script.param', $_POST['txn_id']);
>
>
> -Troy
> _______________________________________________
> 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