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

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

Recommended Posts

Posted

Is there a way to have variables in find mode? I have a bunch of finds that search for a specific $ amount. The price has gone up so I have to change all the find scripts. When I update the find this time I want have a variable for the money so if the $ amount gets changed again I will only have to update it in one place instead on 20.

Posted

Hi:

I don't know how your db is set up now, but having the $ amount that you speak of stored in a field, then you can change the data in that field when the $ amount changes. Then your find will be matched against the value in this field. Know what I mean?

Ken

Posted

Ken's right, but he omitted to mention that the fields you store your variables in must be global fields in order for them to be available to your scripts in find mode. The user can't access a global field in find mode, but you'll discover that script calculations (eg Set Field [ ]) can reference them.

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