Results 1 to 3 of 3
  1. #1
    char is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    29

    Expression not valid - Query

    Hi everyone!


    I have two tables, [ATWelding] and [Results] . They are linked as they both have Weld ID.
    I want query to show any ATWeld ID that doesnt match a Weld ID in [Results].

    I can't use SQL as my database is on the web compatible platform.
    I attempted to do this using InStr([Results]![Weld ID]) in my Weld ID ATWelding criteria on a query but as I am using the web version an error message saying the expression is not compatible with the web is being displayed.

    Can anyone help me find away around this problem so that I can run the query in my web database? Any suggestions would be greatly appreciated!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    A query IS sql. Did you mean you can't use VBA?

    Build a query that joins the two tables, jointype 'Include all records from ATWelding...'. Criteria under Results!WeldID: Is Null
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    char is offline Novice
    Windows Vista Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    29
    Ah thank you. Joined the tables and then ran the query, worked perfectly.

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

Similar Threads

  1. Replies: 4
    Last Post: 10-26-2012, 12:49 AM
  2. Replies: 3
    Last Post: 03-20-2012, 10:31 AM
  3. Query Expression Help
    By hmartin in forum Queries
    Replies: 7
    Last Post: 01-21-2012, 11:37 PM
  4. Query Expression
    By nizam in forum Queries
    Replies: 1
    Last Post: 11-12-2011, 02:56 PM
  5. Expression for Query Help
    By fikeplay in forum Access
    Replies: 1
    Last Post: 07-09-2011, 05:12 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