Results 1 to 3 of 3
  1. #1
    Khalil Handal is offline Competent Performer
    Windows 10 Access 2010 32bit
    Join Date
    Jun 2016
    Posts
    237

    Condition or criteria in a query

    Hi to all,


    I have a query based on different tables. One of the fields have a value of 1 or 2 . I want to add a new calculated field to the query were the 1 is replaced with Male and the 2 is replaced with Female.
    Is this possible?

    Khalil

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,523
    join tGender table to your query,
    contents:
    Code, Gender
    1, Male
    2,Female

    join tGenter.Code on the numeric column of your other table,
    bring down tGender.Gender field into the query results.

  3. #3
    Khalil Handal is offline Competent Performer
    Windows 10 Access 2010 32bit
    Join Date
    Jun 2016
    Posts
    237
    Thank you for the reply.
    Khalil

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

Similar Threads

  1. Replies: 4
    Last Post: 03-18-2022, 04:46 PM
  2. Possible to use query is LIKE condition?
    By ctakacs in forum Access
    Replies: 3
    Last Post: 01-06-2021, 06:34 AM
  3. Replies: 2
    Last Post: 02-02-2018, 01:50 PM
  4. Replies: 2
    Last Post: 09-24-2016, 11:29 PM
  5. Query with many criteria (Dates, Condition, etc)
    By soldat452002 in forum Queries
    Replies: 5
    Last Post: 06-25-2014, 05:01 PM

Tags for this Thread

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