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

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

Recommended Posts

  • Newbies
Posted

When setting the criteria for a "Perform Find[]" how do you specifiy the contents of a field and not the field name? i.e.

Action = Find Records

Criteria = PaySlips::Employee: [=fEmployee]

fEmployee is a drop down field in my database and I want the search done based on the current value in that field. But all it does is search for "=fEmployee" and finds no records. Where as the field contains a value of "Brian". I just cant find any examples of indirect referencing.

Of course if I replace fEmployee with Brian it works but this is not practical as I may have 100+ employees and I'm not going to write a dedicated script for each person. Anyone know how to do this?

Posted

Perform Find[] only works with static (stored) criteria. Try something like:

Set Variable [ $criteria ; fEmployee ]

Enter Find Mode []

Set Field [ PaySlips::Employee ; "=" & $criteria ]

Perform Find []

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