Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wildcard (LIKE) in IIF 1

Status
Not open for further replies.

Melagan

MIS
Nov 24, 2004
443
US
What I'm trying:

Code:
SELECT IIF([Status] = LIKE 'Cancelled*', 1, 0) as sCount

Not working - is it even possible to use wildcards in the IIF function?


~Melagan
______
"It's never too late to become what you might have been.
 
Remove the equal (=) symbol.
Try again.

-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
Bingo! Thank you sir!

(See that? A straight answer in two minutes. *)



~Melagan
______
"It's never too late to become what you might have been.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top