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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I set up a parameter query for a Y/N field?

Status
Not open for further replies.

julie67

Technical User
Mar 1, 2005
24
US
Dumb question I'm sure....but how do I set up a parameter query for a yes/no field?

Thanks,
Julie
 
You can set the criteria to:
[Enter Y for Yes or N for No]="Y"


Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
One way:
Code:
=IIf([Enter yes or no for this field]="yes",-1,0)

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top