Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8232 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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.

Posted

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 ( ).

This topic is 8232 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.