John,
Thanks for the reply. It is somwhat hard to explain but the way I see it
(The below is similar to the first one I sent)
([LOANPROGRAM] <> 'CONSTRUCTION') AND ([PROPTYPE] NOT IN (2010,2020, 2030,
2040, 2050))
The above numbers represent propertys in a table and the Loan Program
represents certain areas like construction, painters, carpet etc. The other
numbers represent either multi family homes, commerical etc. What I am
looking for is a easy way to (I have 60 to do) write an expression that wil
either show certain records or not show certain records depending on what is
in the expression. Can you help me with this. I would greatly appreciate it.
You have helped me in the past and I truly appreciate it!.
John W. Vinson said:
To show an expression
Example..
([LOANPROGRAM] <> 'CONSTRUCTION') AND ([PROPTYPE] IN (2010,2020,2040))
This is suppose to say that the Loan Program = construction and if 2010,
2020 or 2040 shows that the code behind this will excute. Is this correct. It
is new creteria in a field in my table.
What's the context, TKM? This is a valid query criterion, and - in an
appropriate query's WHERE clause - it will cause records to be retrieved if
they meet these criteria.
But it will not cause "code to be executed".
Secondly, you cannot put criteria *IN A TABLE* - only in a query.
What is the structure of your table, and what are you trying to accomplish?
John W. Vinson [MVP]