Results 1 to 2 of 2

Thread: Execute a query (ADO)

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 1999
    Posts
    253

    Unhappy

    Hello,

    When I try to execute an Access query from VB by using the Execute method of the Connection object, I get the following error message:

    Duplicate output destination "Makor"

    The MSDN says it's because I have 2 or more fields with the same name in my query (it's an action query starting with "INSERT INTO"), but I have checked the query again and again and all the fields have different names. Moreover, when I try to execute that query from Access, I get no errors at all!

    I think that maybe ADO has a problem with that particular field, but I can't figure that out.

    Does anybody have any ideas how I can solve the problem?

    Thanks!


  2. #2
    Guest
    Without seeing the actual SQL statements, its kinda hard to answer.

    Off hand, I've never heard of MAKOR being a reserved keyword.


    Good Luck
    DerFarm

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