+ Reply to Thread
Results 1 to 3 of 3

SQL String Format Problem

  1. #1
    Registered User
    Join Date
    08-15-2008
    Location
    Portsmouth
    Posts
    3

    SQL String Format Problem

    Hi

    I am sending queries to an access database from excel vba and get the error message "general ODBC error" when I send the following string

    Please Login or Register  to view this content.
    However, the following code works, so I can only assume that the problem is how I have constructed the text part of the statement (around "OPEN") - could someone point me in the right direction please?

    Please Login or Register  to view this content.
    Many thanks

    Aaron

  2. #2
    Valued Forum Contributor Richard Schollar's Avatar
    Join Date
    05-23-2006
    Location
    Hampshire UK
    MS-Off Ver
    Excel 2002
    Posts
    1,264
    Hello Aaron

    Try:

    Please Login or Register  to view this content.
    Richard

  3. #3
    Registered User
    Join Date
    08-15-2008
    Location
    Portsmouth
    Posts
    3
    Hooray - thank you - perfect!

+ 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