Results 1 to 4 of 4

Thread: SYNTAX ERROR IN FROM CLAUSE

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Posts
    10

    Question

    I have a VB application which starts with a dialog box message: SYNTAX ERROR IN FROM CLAUSE each time the project is run. The only option in the box is OK. When OK is hit the application runs as normal.

    Any idea of the cause of this? - Bob

  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    You're probably gonna have to post the code that you are using. But what i would probably do is comment out parts of the code until the error no longer comes up and then look over that code.

    Gl,
    D!m
    Dim

  3. #3
    Addicted Member P.S.W.'s Avatar
    Join Date
    Aug 2000
    Posts
    146
    Sounds like a SQL query is malfunctioning somewhere.

  4. #4

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Posts
    10
    Thanks for the posts - I found the problem. It was tied to an adodc object. This project used 2 adodc objects pointing to different tables in the same access db. The error seems to be related to a recordsource not being set on one of these objects. I set the cmdType to adCmdTable and the RecordSource to the table and that solved the problem. The RecordSource had been set in code before - on both of these objects - so I'm not sure why one of them had this problem.

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