May 3, 200223 yr I am writing in FM4.0v1 a continuity welders log. Each welder may be qualify in five different processes. Each file will have five qualifying dates and five requalifying dates. I have a layout for enter the criteria day and a find script attached to a button. The criteria date field is a global field and I have use the the set field to enter this date in the other five requalifying fields. The problems is that I cannot figure out how to enter an operator into the criteria field in a script. Cannot enter it manual neither with the script running. Also I have made a list layout to view the records found. This view will show all of the dates. I want to see only the dates that match the criteria. Any help will be greatly appreciated. Lionel
May 11, 200223 yr In the 'set field' script step, insert your operator (between quotes) and an ampersand before the global field. ie: ">=" & Global Date Once the script performs the find, only those records matching the criteria will be displayed.
May 13, 200223 yr When performing a Find with a script, Set Field cannot be used to put operators into a date field. Instead, with FileMaker 4, you would use: Paste Result (Date, " > " & DateToText(Date)) FileMaker 5 has changed this to Insert Calculated Result ( ).
Create an account or sign in to comment