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

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

Recommended Posts

Posted

Hi, I have a script that shows records by month and by day, but I want to filter this findset to show the days after 20 day of a month (example 11 - november) and the days before 20 of the next month (example 12 - december).

Someone can help me?

Thank you so much.

Posted

Yeah, it is something like that, but I need a script that makes that...

My script have something like this:

Script name: Find

Enter Find Mode[]

Set Field[TEST::Month; TEST::Find_Month]

Set Field[TEST::Day]

Perform Find[]

In Line 3 (Set Field[TEST::Day]), I need to specify a calculated result that shows the date between 20 in a month and 20 in the next month.

I don't know how to do this, but I think that I have to modify the second (Set Field[TEST::Month; TEST::Find_Month]) and the third (Set Field[TEST::Day]) lines.

If you know something to do this, please tell me.

Thanks.

Posted

Hi

if you have a field MyDate with a real date inside, you can try:

Enter Find Mode[]

Set Field[TEST::MyDate;"11/20/2005...12/20/2005"]

Perform Find[]

This will find all the records with those date inside the field MyDate.

Naturally this kind of script isn't so good, because we have hard-coded the range.

It will be better to make a new field (InsertRange), where we can type our search range.

The script will became:

Enter Find Mode[]

Set Field[TEST::MyDate;TEST::InsertRange]

Perform Find[]

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