Connecting Tech Pros Worldwide Help | Site Map

The old "IIF"

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 8th, 2007, 12:25 AM
Chesne
Guest
 
Posts: n/a
Default The old "IIF"

I am trying to return several value in and IF in a query statement.
The generic is as follows...

=IIf([Forms]![frmParticipantsMain]![NoOfParticipants]=10,Between 1 and
10,"")

Can anyone help with the "Between" part. I realise that it will not
work in the current form but is there someway I can return the records
between 1 and 10. TIA


  #2  
Old November 8th, 2007, 01:15 AM
Tom van Stiphout
Guest
 
Posts: n/a
Default Re: The old "IIF"

On Wed, 07 Nov 2007 17:21:19 -0800, Chesne <ashfield@paradise.net.nz>
wrote:

You may want to check out the Choose function.
-Tom.

Quote:
>I am trying to return several value in and IF in a query statement.
>The generic is as follows...
>
>=IIf([Forms]![frmParticipantsMain]![NoOfParticipants]=10,Between 1 and
>10,"")
>
>Can anyone help with the "Between" part. I realise that it will not
>work in the current form but is there someway I can return the records
>between 1 and 10. TIA
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.