Results 1 to 3 of 3
  1. #1
    wuhsean22 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Feb 2013
    Posts
    3

    Values identical, yet my query returns Mismatch! HELP

    Hi friends,


    i have the following query:

    iif([PC]=[WIP PC],"True", False")


    And in my dataset, PC= UGZA6LK0 and WIP PC =UGZA6LK0. I confirmed both values are TEXT format and I trimmed off any spaces. Why is this still returning as FALSE. There are other values that are identical that are returning TRUE.

    puzzled..Sean

    tHanks in advance!

  2. #2
    qa12dx is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Nov 2012
    Location
    india
    Posts
    112
    Quote Originally Posted by wuhsean22 View Post
    iif([PC]=[WIP PC],"True", False")
    u forgot the quotation marks infront of false

    iif([PC]=[WIP PC],"True", "False")

  3. #3
    recyan's Avatar
    recyan is offline Expert
    Windows 2K Access 2000
    Join Date
    Dec 2011
    Posts
    662
    I once faced this problem, when the data entry was done as O instead of 0 and vice-versa in an excel sheet & without my specs it took me some time to realize what had happened.

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

Similar Threads

  1. Replies: 2
    Last Post: 04-10-2012, 12:30 AM
  2. Year(date) returns type mismatch
    By reema in forum Programming
    Replies: 9
    Last Post: 03-28-2012, 08:46 AM
  3. Replies: 5
    Last Post: 12-21-2011, 07:16 PM
  4. Aggregate function returns duplicate values
    By lokiluke in forum Queries
    Replies: 3
    Last Post: 09-16-2011, 09:40 AM
  5. Aggregate Query Returns No Values
    By Xiaoding in forum Queries
    Replies: 6
    Last Post: 03-29-2010, 02:01 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