Results 1 to 5 of 5
  1. #1
    boywonder is offline Advanced Beginner
    Windows 7 32bit Access 2003
    Join Date
    Dec 2010
    Location
    Memphis, TN
    Posts
    60

    Getting Error 3075

    What I'm I doing wrong??? Keep getting:

    Run-time error '3075':
    Syntax error (missing operator) in query expression
    '(((transactions.maker)= Returned Fee AND transactions.viod=0))'.

    Following is the code I'm trying to run:

    RCF = "Returned Fee"

    Set rsQry = db.OpenRecordset("SELECT transactions.custno, transactions.NAME, " _
    & "transactions.[check amount] , transactions.maker, transactions.[check number], " _
    & "transactions.returned, transactions.[returned date],transactions.BALANCE, transactions.viod " _


    & "FROM transactions WHERE (((transactions.maker)= " & RCF & " AND " _
    & "transactions.viod=0));")

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    What data type is maker in the table? I suspect it's numeric, or you'd get a different error. If it really is text, then

    & "FROM transactions WHERE (((transactions.maker)= '" & RCF & "' AND " _
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    boywonder is offline Advanced Beginner
    Windows 7 32bit Access 2003
    Join Date
    Dec 2010
    Location
    Memphis, TN
    Posts
    60
    Yeah, it is text.

  4. #4
    boywonder is offline Advanced Beginner
    Windows 7 32bit Access 2003
    Join Date
    Dec 2010
    Location
    Memphis, TN
    Posts
    60
    That is it. My mine been in many place this Monday day. Thanks.

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    No problemo!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Syntax error missing operator(3075)
    By parisienne in forum Programming
    Replies: 1
    Last Post: 04-07-2011, 02:29 PM
  2. Run Time Error 3075 in Access 2007
    By jblank65 in forum Programming
    Replies: 6
    Last Post: 01-25-2011, 04:47 PM
  3. Error 3075 when trying to preview report
    By natalie in forum Forms
    Replies: 2
    Last Post: 08-03-2010, 12:15 PM
  4. Runtime 3075 error
    By whm1 in forum Programming
    Replies: 4
    Last Post: 03-24-2010, 02:50 PM
  5. Error 3075 Missing Operator
    By KLynch0803 in forum Queries
    Replies: 5
    Last Post: 02-11-2010, 01:13 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