Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2009

    Red face Unanswered: question re: query which 'contains'

    I have 2 fields. One with teh day in it ie: WED and the next field has four days in it MON, TUE, WED, FRI

    I want to find all the records in the database where Field #2 contains the value in Field #1.

    Field #1 is a calculated value WEEKDAY: Format(Now(),"DDD")

    Any assistance would be appreciated. zz

  2. #2
    Join Date
    Nov 2007
    Adelaide, South Australia
    SELECT ....
    FROM ...
    WHERE Field2 Like "*" & Format(Now(),"DDD") & "*"
    ORDER BY ....
    Owner and Manager of
    CypherBYTE, Microsoft Access Development Specialists.
    Microsoft Access MCP.
    And all around nice guy!

    "Heck it's something understood by accountants ... so it can't be 'that' difficult..." -- Healdem
    "...teach a man to code and he'll be frustrated for life! " -- georgev

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts