Results 1 to 1 of 1

Thread: sql error in statement (resolved - part 2)

Threaded View

  1. #1

    Thread Starter
    Addicted Member fenster's Avatar
    Join Date
    Apr 2003
    Location
    Glasgow,Scotland
    Posts
    201

    sql error in statement (resolved - part 2)

    Im breaking my problem down in an attempt to get it solved..



    i have a table customer ... primary key cust.id
    i have a table job ..............primary key job.id and has field cust.id
    i have a table transaction..primary key trans.id and has field job.id

    on that basis is this bit of sql code ok?

    Code:
        strSQLString = strSQLString & " FROM"
        strSQLString = strSQLString & " Customer"
        strSQLString = strSQLString & " Inner JOIN"
        strSQLString = strSQLString & " Job ON Customer.CustID = Job.CustID"
        strSQLString = strSQLString & " INNER JOIN"
        strSQLString = strSQLString & " [Transaction] ON Job.jobID = Transaction.jobID"

    error:

    missing operator in query expression 'Customer.CustID = Job.CustID INNER JOIN [Transaction] ON Job.jobID = Transaction.jobID'


    davie


    just needed () round the first inner join.....
    Last edited by fenster; Aug 14th, 2003 at 09:26 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width