Results 1 to 2 of 2
  1. #1
    joeldamole is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    1

    Question 2 fields the same in a record

    hello
    i am making a query that shows all records which have the same text value in two fields. What criteria do i need to use for this?



    Thanks
    joeldamole.

  2. #2
    Rixxe is offline Blessed Bear
    Windows 7 Access 2007
    Join Date
    Sep 2010
    Location
    London (Essex ... yep!)
    Posts
    184
    Something like this:

    Code:
     
    select a.*
    from Table1 as a
    where a.Field1 ='Text' and a.Field2 ='Text'
    or change the where clause to:

    where a.Field1 = a.Field2

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

Similar Threads

  1. Replies: 0
    Last Post: 02-25-2011, 09:40 AM
  2. Replies: 9
    Last Post: 01-06-2011, 01:22 PM
  3. Replies: 9
    Last Post: 12-17-2010, 11:44 AM
  4. Replies: 1
    Last Post: 09-22-2010, 08:03 AM
  5. Copying selected fields to a new record
    By Lyle Bitikofer in forum Forms
    Replies: 0
    Last Post: 12-13-2009, 04: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