Newbies Binarybit Posted April 24, 2008 Newbies Posted April 24, 2008 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?
comment Posted April 24, 2008 Posted April 24, 2008 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 []
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now