Results 1 to 4 of 4

Thread: [RESOLVED] Correct my SQL stt (wait, trying to see in FAQs)

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2007
    Posts
    83

    Resolved [RESOLVED] Correct my SQL stt (wait, trying to see in FAQs)

    Can anyone help me correct syntax error(s) in the following code:

    MyRSDetails.Open "SELECT tblClients.ClientCode, tblClients.* FROM tblClients" & _
    "WHERE tblClients.ClientCode = '" & strClientID & "';", conn, adOpenKeyset, adLockOptimistic
    Runtime error : Syntax error in FROM clause.

    Thank u
    Last edited by MintFlavor; Apr 10th, 2007 at 06:11 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