Jump to content

more search criteria


justdippin
 Share

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

Recommended Posts

hello all,

i don't quite understand the search criteria, is it true that it can't contain variables or am i doing something wrong?

i want to do a search, and than after that search is done, do another search where all the found are deletes from the search

example:

i have 65 people working in companies

20 are working at company x

35 are working at company y

10 are working at company z

first i want to search all the people that are working for a company, in this case company x

After that search i want to exclude the people that are working at a specific department, in this case sales deparment.

so all the people are shown that work in company x AND don't work at the sales deparment

how can i do this ??

--------------

i can't put variables in the search criteria. if i do this not the value is shown but the actual tekst of the criteria exapmple my variable name is $deparment. If i do the search it fills in $deparment and not the value it stands for.

------

please help,

thx in advance

Link to comment
Share on other sites

I presume you want to script the search. First, you can do this all with one search, no need for two separate Finds. Second, you can use variables, but not in the Find script step itself. Instead, you do it thus:

Enter Find Mode []

Set field [ company ; $company ]

New Record/Request

Set field [ dept ; $department ]

Omit Record

Perform Find

Link to comment
Share on other sites

This topic is 5705 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
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.