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

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

Recommended Posts

Posted

Hi, I have quite a few scripts that perform finds for "2011" as a text field.

Is it possible to make a global variable $$CurrentYear so that I don't have to manually go through all these scripts every year and update the year number to the current year.

Thanks,

jim

Posted

Thanks, I thought I tried that.

And then I just tried

Set Variable $$Current Year ; Substitute ( "*/*/" & Year ( Get ( CurrentDate ) ) ;[ "*" ; ""] ; ["/" ; ""] )

which seemed to work.

THen I tried your cleaner suggestion which also worked. Thanks!

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