I want to do a FIND on a calculated field but the field will not fill from a 
script. I can enter the date range manually and it works.

I am running FMP 5.5

The field is calculated from a reference to another table:
Actual Invoice Date     Calculation    Unstored, = Sales Invoice number to 
invoice number::Invoice Date
Result is Date format

My script is:
Go to Layout ("Inventory Control Records")
Enter Find Mode (Restore)
Copy (Select "Combined Dates for Find"
Paste (Select, "Actual Invoice Date")

The input field is:
Combined Dates for Find    Calculation   Unstored, = DateToText(Start Date) & 
".."  & DateToText(End Date)
Result is Text format

All I get during the script is an empty Actual Invoice Date field.


Reply via email to