Question : How to perform find based on Date Parameters

Hi,
I am trying to create a simple script in Filemaker Pro V5.5. I have created a script that shows sales figures based on a search as follows:

Go to Layout ["Sales-Weekly"]
Enter Find Mode []
Insert Text [Select, "Invoiced", "Yes"]
Perform Find []

However before the find takes place I could do with searching on the past 7 days. What would be better if I could input a start date and a finish date and then have the script produce the results from the start/finish date.
Thanks

Answer : How to perform find based on Date Parameters

find mode
set field [date field]= date1 & "..." & date2
execute find

(from memory, I am not using fm5/6 anymore) but I have an old PC with it at home if needed
Random Solutions  
 
programming4us programming4us