If/And Statement

  • Thread starter Thread starter trans
  • Start date Start date
T

trans

I know how to use the If/And statement nested together in Excel. Is it
possible to use this same type of function in Access? If so, do I write the
same formula or is it done in a different way?

Thank you.
 
You most likely would use IIf instead of If, and the syntax for And is
different than in Excel. See Help for information about IIf and And. To
receive specific suggestions you should post a more specific description of
what you hope to accomplish. In general it would be something like this
(all on one line):
IIf([Item1] = True And [Item2] < 100 And [Item3] <> "Something",[Text1] =
"Yes!",[Text2] = "Nope")
Use an = sign before the expression in a text box; in a query precede it
with something like:
MyNewField: IIf...
 
I know how to use the If/And statement nested together in Excel. Is it
possible to use this same type of function in Access? If so, do I write the
same formula or is it done in a different way?

Thank you.

Why don't you share with us what it is you are trying to accomplish
and where, such as in VBA, in an Access control, in a Query, etc.
A brief example would be nice.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Formula nesting with IF statements 2
Formula in Access 6
iif and statement 2
Nested If statements 15
Simple nested if and statement 2
If Statement and macro 4
Reusable statements in queries 2
IF AND Statements 3

Back
Top