[FX.php List] About scripts
Gjermund Gusland Thorsen
ggt667 at gmail.com
Tue Sep 26 01:08:59 MDT 2006
The main problem with executing scripts through XML interface is in my
opinion; who is running the script? Which file:/ folder is accessible? when
script is executed from the XML interface? Or in other words what is the
current home directory?
On 9/26/06, Jonathan Schwartz <jonathan at eschwartz.com> wrote:
>
> Is there a list of best practices in using scripts in fx.php?
> Perhaps....don't use them? ;-)
>
> I'm spent *alot* of time trying to get a simple script to work, and
> the results a re just screwy.
>
> I'm doing an fx find for a single record and run a script at the same
> time. The scripts is supposed to go to the related record set (1 or
> two records max) and then loop through the found set. Instead of
> finding the desired related record set, the GoToRelated command finds
> all records. We won't talk about looping through the entire. Yes, I
> have the GTRR settings set correctly. The script runs correctly in
> native FMP mode....just not when fx calls it.
>
> I'v heard recent advice not use scripts. I'm not sure if it was
> because of performance slowdowns or performance flaws.
>
> In the meantime, I'm going to startng thinking about how to do the
> same functionality with calcs instead.
>
> J
> --
>
> Jonathan Schwartz
> FileMaker 8 Certified Developer
> Associate Member, FileMaker Solutions Alliance
> Schwartz & Company
> jonathan at eschwartz.com
> http://www.eschwartz.com
> http://www.exit445.com
> 415-381-1852
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20060926/0e923506/attachment.html
More information about the FX.php_List
mailing list