Results 1 to 2 of 2
  1. #1
    DaveyJ is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2010
    Posts
    28

    SQL Query in Access

    Hi Guys,

    I'm having a few difficulties writing a left join query in access, below is what i've done in SQL but having a few problems getting the same result from access , any help is much appreciated.


    SELECT tbl_employee_details.SOEID, tbl_employee_details.FirstName, tbl_employee_details.Surname, tbl_requests.RequestID,
    tbl_Software_types.SoftwareName, tbl_hardware_types.HardwareTypes

    FROM tbl_requests INNER JOIN



    tbl_employee_details ON tbl_requests.SOEID = tbl_employee_details.SOEID LEFT JOIN

    tbl_software_requests ON tbl_requests.RequestID = tbl_software_requests.RequestID LEFT JOIN
    tbl_Software_types ON tbl_software_requests.ApplicationName = tbl_Software_types.ApplicationTypeID LEFT JOIN
    tbl_hardware_requests ON tbl_requests.RequestID = tbl_hardware_requests.RequestID LEFT JOIN
    tbl_hardware_types ON tbl_hardware_requests.HardwareType = tbl_hardware_types.HardwareTypeID


    WHERE (tbl_employee_details.SOEID = '')
    Last edited by DaveyJ; 06-24-2010 at 01:41 AM. Reason: correction

  2. #2
    DaveyJ is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2010
    Posts
    28
    i get the following error when writing in MS Access

    The SQL statement could not be executed because it contains ambiguous outer joins. To force one of the joins to be performed first, create a separate query that performs the first join and then include that query in your SQL statement. (Error 3258)

    Really need help writing this query


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

Similar Threads

  1. Sql server query to MS access query
    By blazixinfo@yahoo.com in forum Queries
    Replies: 0
    Last Post: 07-07-2009, 08:12 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
  •  
Other Forums: Microsoft Office Forums