+ Reply to Thread
Results 1 to 2 of 2

SQL Select Statement Help..

  1. #1
    Forum Contributor
    Join Date
    11-16-2011
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    405

    SQL Select Statement Help..

    Hi Guys,

    I am currently running a SQL server using MySQL. I have multiple tables in this database and I am trying to use a select to join these tables together.

    The select statement I am using in MySQL Works and this is it here:

    Please Login or Register  to view this content.

    VBA Statement
    Please Login or Register  to view this content.
    However I am having some translation issues getting this to work in VBA (Excel)

    Once I try open the recordset the connection crashes as theres some syntax errors in my statement.

    If you could you please point me out as to where I've gone wrong with this statement that would be much appreciated!

    For all those who might also be struggling with a mySQL database the following link is a great read: http://www3.ntu.edu.sg/home/ehchua/p..._Beginner.html

    From this website the "More than One Table" Chapter is where I learnt how to retreive data accorss multiple tables.
    Last edited by jordan2322; 04-17-2013 at 07:55 PM.

  2. #2
    Forum Contributor
    Join Date
    11-16-2011
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    405

    Re: SQL Select Statement Help..

    I got this working using:

    Please Login or Register  to view this content.
    It just had some small syntactical errors that were more easily identified when using the routine

    Cheers Guys!

    Jordan

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1