Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Hi, I'm trying to script a search for dates that fall within a certain range in a schedule. For the start date I use >= start date in the date field in find mode, but I can't seem to do anything like: >= startdate and <= enddate in the field.

Here's what I have for a script so far:

Show Custom Dialog Box ["Search Criteria"; "Please enter a start and end date"; UI_Schedule::Global_SearchStartDate; UI_Schedule::Global_SearchEndDate)

Go To Database ["Database - Schedule_DailyEntries"(Schedule_DailyEntries)"]

Show All Records

Enter Find Mode {}

Set Field [schedule_DailyEntries::Schedule_DailyEntries_Date;">= " & Global_SearchStartDate]

Perform Find[]

And it does find the dates that occur after the start date, but do I have to do another search after that to further constrict the found set? Is there any way to have multiple search criteria for one field in a search?

Posted

Hi, I'm trying to script a search for dates that fall within a certain range in a schedule. For the start date I use >= start date in the date field in find mode, but I can't seem to do anything like: >= startdate and <= enddate in the field.

Here's what I have for a script so far:

Show Custom Dialog Box ["Search Criteria"; "Please enter a start and end date"; UI_Schedule::Global_SearchStartDate; UI_Schedule::Global_SearchEndDate)

Go To Database ["Database - Schedule_DailyEntries"(Schedule_DailyEntries)"]

Show All Records

Enter Find Mode {}

Set Field [schedule_DailyEntries::Schedule_DailyEntries_Date;">= " & Global_SearchStartDate]

Perform Find[]

And it does find the dates that occur after the start date, but do I have to do another search after that to further constrict the found set? Is there any way to have multiple search criteria for one field in a search?

Posted

Hi, I'm trying to script a search for dates that fall within a certain range in a schedule. For the start date I use >= start date in the date field in find mode, but I can't seem to do anything like: >= startdate and <= enddate in the field.

Here's what I have for a script so far:

Show Custom Dialog Box ["Search Criteria"; "Please enter a start and end date"; UI_Schedule::Global_SearchStartDate; UI_Schedule::Global_SearchEndDate)

Go To Database ["Database - Schedule_DailyEntries"(Schedule_DailyEntries)"]

Show All Records

Enter Find Mode {}

Set Field [schedule_DailyEntries::Schedule_DailyEntries_Date;">= " & Global_SearchStartDate]

Perform Find[]

And it does find the dates that occur after the start date, but do I have to do another search after that to further constrict the found set? Is there any way to have multiple search criteria for one field in a search?

This topic is 7252 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.