April 18, 200421 yr Thanks for any help! I've created a sales tracking tool for auctions and am looking to output a report for my clients. What I'm having trouble with is creating a script to find all items with an end date (a calculated field) of Today or later. Then I can show the clients what auctions are still live and some details to go along with them. Ideally I'd click a button and run a script to find these items, sort them, and Preview them in a particular Layout. Thanks for any suggestions. FileMaker Version: 6 Platform: Windows XP
April 18, 200421 yr To do the find, the EndDate field must be set using FileMaker's find character ">" & a date, e.g. ">4/18/2004". Do do this in a script with Find, the script step is Insert Calculated Result. Although the calculation will say "results must be date", enter this formula: ">" & DateToText(Status(CurrentDate)) The script sequence is: Enter Find Mode [] Insert Calculated Result [select, "EndDate", "">" & DateToText(Status(CurrentDate))"] Perform Find [Replace Found Set] Voila!
April 18, 200421 yr Author Cool, thanks for the info. I will test it today. Thanks again! FileMaker Version: 6 Platform: Windows XP
Create an account or sign in to comment