June 13, 200124 yr i want filemaker to perform a script everytime that a new record is created. the records will be created via the web. any suggestions or insight? thanks a million, tim.
June 14, 200124 yr Just add the -script CDML tag to the form or URL to call the script. I'll leave it to others to warn of the hazards of running scripts througgh Web Companion.
June 14, 200124 yr Author okay. i'm ready for the warnings. also, could you give me a simple example of using this -script tag? thanks a million, tim.
June 14, 200124 yr What it does Specifies the FileMaker Pro script that should be performed after the finding and sorting of records (if any) during processing of the action. Value is Name of the script to perform. Syntax example(s) Perform a script using a link < a href="FMPro?-DB=db.fp5&-Format=rslt.htm&-Script=Omit+Script&-FindAll">"Run script"</a> Perform a script using a form action < form action="FMPro" method="post"> <input type="hidden" name="-DB" value="names.fp5"> <input type="hidden" name="-Format" value="results.htm"> <input type="hidden" name="-Script" value="Omit Script"> <input type="submit" name="-FindAll" value="Run Script"> </form> Other tags that are required -DB, any action tag See also -Script.PreFind, -Script.PreSort
Create an account or sign in to comment