A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Yes/No parameter for selecting either



 
 
Thread Tools Display Modes
  #1  
Old October 20th, 2009, 11:16 AM posted to microsoft.public.access.queries
owl
external usenet poster
 
Posts: 128
Default Yes/No parameter for selecting either

I would like to know if it is possible in a query to have a parameter that
will allow the user to select either Yes or No, and if so please supply the
wording.

For simplification of an answer, my Yes/No field is called Closed.

Thanks for any help.
  #2  
Old October 20th, 2009, 11:31 AM posted to microsoft.public.access.queries
RonaldoOneNil
external usenet poster
 
Posts: 345
Default Yes/No parameter for selecting either

If your Yes/No field is actual text then simply enter the below into the
criteria row of the Closed field column in your query

[Enter Yes or No]

If your Yes/No field is a check box then enter the following instead

=IIF([Enter Yes or No]="Yes",True,False)

"Owl" wrote:

I would like to know if it is possible in a query to have a parameter that
will allow the user to select either Yes or No, and if so please supply the
wording.

For simplification of an answer, my Yes/No field is called Closed.

Thanks for any help.

  #3  
Old November 18th, 2009, 04:47 PM posted to microsoft.public.access.queries
owl
external usenet poster
 
Posts: 128
Default Yes/No parameter for selecting either

Thannk you so very much Ronaldo. You cannot know how excited I am about this
and how empowered I feel and how many queries, forms and reports it is going
to save me. I am very sorry I only saw this almost a month later. I could
have sworn that I had selected "Notify me of replies", but presumably I
didn't. When I did a search on Owl, I found that there were other questions
which people have replied to, for which I also didn't get an email
notification. I feel very bad, because for as many of my 64 years, as I can
remember, I have always said "Thank you" when somebody has done something for
me.

"RonaldoOneNil" wrote:

If your Yes/No field is actual text then simply enter the below into the
criteria row of the Closed field column in your query

[Enter Yes or No]

If your Yes/No field is a check box then enter the following instead

=IIF([Enter Yes or No]="Yes",True,False)

"Owl" wrote:

I would like to know if it is possible in a query to have a parameter that
will allow the user to select either Yes or No, and if so please supply the
wording.

For simplification of an answer, my Yes/No field is called Closed.

Thanks for any help.

  #4  
Old November 19th, 2009, 07:04 PM posted to microsoft.public.access.queries
owl
external usenet poster
 
Posts: 128
Default Yes/No parameter for selecting either

Could I trouble you further with another question, please? How can I enter a
Yes or a No AND have the option for both. Presumably it would be to enter
something in the Or row, but I don't know what. I hope you will see this,
especially as you answered me so long ago.

Thank you for any response, Ronaldo or anyone else who answers.

"Owl" wrote:

Thannk you so very much Ronaldo. You cannot know how excited I am about this
and how empowered I feel and how many queries, forms and reports it is going
to save me. I am very sorry I only saw this almost a month later. I could
have sworn that I had selected "Notify me of replies", but presumably I
didn't. When I did a search on Owl, I found that there were other questions
which people have replied to, for which I also didn't get an email
notification. I feel very bad, because for as many of my 64 years, as I can
remember, I have always said "Thank you" when somebody has done something for
me.

"RonaldoOneNil" wrote:

If your Yes/No field is actual text then simply enter the below into the
criteria row of the Closed field column in your query

[Enter Yes or No]

If your Yes/No field is a check box then enter the following instead

=IIF([Enter Yes or No]="Yes",True,False)

"Owl" wrote:

I would like to know if it is possible in a query to have a parameter that
will allow the user to select either Yes or No, and if so please supply the
wording.

For simplification of an answer, my Yes/No field is called Closed.

Thanks for any help.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:24 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.