[FX.php List] calling scripts from FX help
Michael Layne
fx at 9degrees.com
Fri Oct 21 06:08:02 MDT 2005
Thanks... But I always create a field 'recid' - calc ''Get
(RecordID)" so I don't have to go through parsing it out every
time... Just so I can throw it around when i need to actually edit/
delete with "-recid"
I appreciate it though...
You are the one person I would have thought had an answer... no idea?
Michael
On Oct 21, 2005, at 12:37 AM, Chris Hansen wrote:
> Just a quick thought... Do you have a field called 'recid' or are
> you looking for the RecordID? If so, keep in mind that the
> RecordID is represented by '-recid'. HTH
>
> --Chris Hansen
> creator of FX.php
> "The best way from FileMaker to the Web."
> www.iViking.org
>
> On Oct 20, 2005, at 10:34 PM, Michael Layne wrote:
>
>
>> Well, I've been doing this quite a while, and for some reason, I
>> cannot make a script happen...
>>
>> $q = new FX($ip, $port);
>> $q->SetDBData($fmdb,$lay . $type . 'posts');
>> $q->SetDBPassword($fmpw[0],$fmpw[1]);
>> $q->AddDBParam('-script','exportDoc');
>> $q->AddDBParam('recid',$recid);
>> $r = $q->FMFind();
>>
>>
>> I think it's the script itself...
>>
>> Go to Layout [...]
>> Export Field Contents[...]
>>
>> I really need a container field (has a text file in it) to get its
>> contents exported to a directory, and it wouldn't work from the
>> web. works every time from FM. I know I can run A script... if I
>> just set a field, the script runs. I also tried 'Export Field
>> Contents' with a text field (as opposed to a container field).
>> Same results...
>>
>> Lastly, I thought it was because the database was so large... (60
>> MB, 120 tables, 760 layouts, 1400 scripts) but I made a 1 table
>> database with the same fields and no go...
>>
>> Any help would be appreciated. I try to contribute as much as i
>> can, but I'm stumped. I'm guessing the answer is "You cannot do
>> that from outside FM"...
>>
>> Thanks,
>>
>> Michael
>>
>>
>> Michael Layne : 9 degrees development : www.9degrees.com :
>> 404.226.7835
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
>>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
Michael Layne : 9 degrees development : www.9degrees.com :
404.226.7835
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20051021/a2b471cd/attachment.html
More information about the FX.php_List
mailing list