Results 1 to 2 of 2
  1. #1
    Johin.b is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2013
    Posts
    7

    -1 in criteria. what does it mean / do

    Hi guys,

    Can someone please tell me or explain what does the -1 do in the below condition

    =IIf([chkBranch]=(-1),[cmbForBranch],IIf([chkPostalCode]=(-1),[cmbSelectCUIC],IIf([chkCUIC]=(-1),
    [List107])))



    Thanks in Advance!

    Regards,
    Joe

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    The "-1" is the boolean equivalent of "True". For a check box, it would mean return the records which are checked.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 05-02-2013, 11:07 AM
  2. Replies: 5
    Last Post: 09-20-2012, 03:27 PM
  3. Replies: 5
    Last Post: 08-02-2012, 09:44 AM
  4. Replies: 1
    Last Post: 07-13-2011, 11:00 AM
  5. Search By Criteria - Flexible Criteria Fields
    By lilanngel in forum Access
    Replies: 0
    Last Post: 03-16-2011, 06:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums