Results 1 to 6 of 6

Thread: [RESOLVED] MS Access SQL Question ...

Threaded View

  1. #1

    Thread Starter
    Frenzied Member TheBionicOrange's Avatar
    Join Date
    Apr 2001
    Location
    Cardiff, UK
    Posts
    1,818

    Resolved [RESOLVED] MS Access SQL Question ...

    I am using MS Access 2000.

    Why does this query give me a syntax error ?
    All field names are correct, and both joins should be "inner".



    VB Code:
    1. select a.QUESTION_GROUP,a.QUESTION_ID,a.WEIGHTING,a.CONTROL_MEASURE_OWNER,a.CONTROL_MEASURE_APPROVED,a.COMPLETION_TIMESCALE,b.CONTROL_MEASURE,c.QUESTION
    2. from AUDIT_LOCATION_QUESTION_RESULTS a
    3. inner join AUDIT_CONTROL_MEASURES b on (a.CHAIN=b.CHAIN and a.QUESTION_GROUP=b.QUESTION_GROUP and a.QUESTION_ID=b.QUESTION_ID)
    4. inner join AUDIT_GROUP_QUESTIONS c on (a.CHAIN=c.CHAIN and a.QUESTION_GROUP=c.QUESTION_GROUP and a.QUESTION_ID=c.QUESTION_ID)
    5. where a.CHAIN = '01'
    6. and a.BRANCH_NUMBER = '0001'
    7. and a.AUDIT_DATE = '20060502'
    8. order by a.QUESTION_GROUP,a.QUESTION_ID
    Last edited by Hack; May 4th, 2006 at 06:26 AM. Reason: Added [RESOLVED] to thread title

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