filemaker scripts query

Posted on 2009-02-18
Last Modified: 2012-05-06
I am relatively new to modifying filemaker and am creating my first script inside of it. The script is finding a group of people with 6 months left on their subscription and listing them, I then need to automatically have it update a discount field so everyone gets offered 25% off.

I have completed the first two stages but can only get the 25% discount on the first found entry. How do I set the repetitions value so that it will encompass any number of results?
Question by:jonathan-dunstans
    LVL 5

    Accepted Solution

    To set the amount or discount use the Replace Field Contents script step not Set Field (which just does the current record).

    The script step may have different names in different versions. You can manually test this by choosing the command from the Records menu when in browse mode. It replaces the values for the selected field for all found records.

    Author Closing Comment

    Was exactly what I was looking for, thanks

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Pop up windows can be a useful feature of any Filemaker database.  Though best used sparingly, they can be employed in a multitude of different ways, for example;  as a splash screen at login, during scripted processes to control user input, as pick…
    Conversion Steps for merging and consolidating separate Filemaker files The following is a step-by-step guide for the process of consolidating two or more FileMaker files (version 7 and later) into a single file with multiple tables. Sometimes th…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now