timmy Posted June 13, 2001 Posted June 13, 2001 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.
Vaughan Posted June 14, 2001 Posted June 14, 2001 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.
timmy Posted June 14, 2001 Author Posted June 14, 2001 okay. i'm ready for the warnings. also, could you give me a simple example of using this -script tag? thanks a million, tim.
Anatoli Posted June 14, 2001 Posted June 14, 2001 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
Recommended Posts
This topic is 8554 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now