Results 1 to 5 of 5

Thread: Execute query

  1. #1

    Thread Starter
    Lively Member mattalexx's Avatar
    Join Date
    Mar 2002
    Location
    Gloucester, MA
    Posts
    77

    Execute query

    When I use the execute method to run a make-table query, it errors if the table already exists. I want the query to overwrite the table if it exists. Is there a way to do this without having to delete the table with code?

    Matt(+)

  2. #2
    BG
    Guest
    Nope you have to drop the table if it already exists. you can do that in your execute command though.

  3. #3
    DerFarm
    Guest
    I don't know about from code, but in Native Access, you can turn
    the warnings off. Then it doesn't ask the stupid "Do wish to
    overwrite".....Perhaps if you turned the warnings off thru code,
    this would work?

    HTH

  4. #4
    BG
    Guest
    What DB are you using?

  5. #5

    Thread Starter
    Lively Member mattalexx's Avatar
    Join Date
    Mar 2002
    Location
    Gloucester, MA
    Posts
    77
    I used a DROP TABLE query and it worked. Thanks

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