[FX.php List] Update a field in all related records.
Matthew White
mattw at netfriends.net
Wed Mar 15 07:12:25 MST 2006
Running a script in php.
Just a note. Be careful running a FM script in the Custom Web Publishing fm
interface. If the filemaker script has an error which you don't capture,
the php fx call will fail miserably with no specific error messages. Just
an FYI, (yes, I did discover this problem very painfully.)
Matt White
On 3/15/06 1:16 AM, "Greg Lane" <glane at moyergroup.com> wrote:
> Joe,
>
> You could do all of this through FX.php, but my recommendation would
> be to write a FileMaker script to do the work and then simply call
> that script from FX.php. It will be simpler to write and debug and
> the performance will likely be better as well.
>
> Feel free to ask if you have questions about writing the FM script or
> calling an FM script from PHP.
>
> Greg
>
>
> On Mar 14, 2006, at 7:48 AM, Scarpetta, Joe wrote:
>
>> I¹m adding a button to a layout that needs to trigger the following
>> action:
>>
>>
>>
>> I¹m currently on the parent record. So from here I need to:
>>
>>
>>
>> Update the field vote to¹ Affirmative on the parent
>> Set the field submitted_date¹ to Today.
>> Goto to the Related records based on the key that is stored as $recKey
>> Update the field vote to¹ Affirmative on the child records
>> Goto to a new page showing the parent information as a confirmation.
>>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
--
Matt White
Director Of Development
SciMed Solutions
(919) 287-1817
(919) 540-3283 (Voice Mail, Pager)
matt at scimedsolutions.com
More information about the FX.php_List
mailing list