Results 1 to 3 of 3
  1. #1
    wolfm is offline Advanced Beginner
    Windows 7 32bit Access 2013
    Join Date
    Dec 2013
    Posts
    93

    Help with query statement

    I am taking a class on Lynda.com about appended queries.
    The instructor talks and types really fast, also the formulas are difficult to see.

    I want the [Process Date] field in the query "qry_OpenJobs (no posting type)" to appear in the dataset.

    I have it written as:



    Snapshot Week: DatePart("ww",[qry_Open Jobs (noposting type)].[Process Date])

    I get the error code as attached...

    Have I typed the statement incorrectly?> Click image for larger version. 

Name:	error message.JPG 
Views:	13 
Size:	28.2 KB 
ID:	35047
    Thanks!!

  2. #2
    JoeM is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Can you post the SQL code of that query you are referencing?
    If you switch the query to SQL View, you will see the SQL code. Just copy and paste it here.

  3. #3
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,412
    Have I typed the statement incorrectly
    no - but your naming convention will cause you problems down the line - it is strongly recommended not to use spaces or non alphanumeric characters in table/query field names.

    With regards your error - perhaps you refer to 'process date' elsewhere in the query

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

Similar Threads

  1. Replies: 8
    Last Post: 05-08-2018, 07:27 AM
  2. Can anyone help with my SQL statement query
    By fluffyvampirekitten in forum Access
    Replies: 1
    Last Post: 08-20-2015, 09:53 PM
  3. if statement in sql statement, query builder
    By 54.69.6d.20 in forum Access
    Replies: 4
    Last Post: 09-11-2012, 07:38 AM
  4. Replies: 3
    Last Post: 07-10-2012, 05:23 AM
  5. Help fix SQL Statement for query
    By Budro49 in forum Queries
    Replies: 12
    Last Post: 06-21-2011, 02:26 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