Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Weirdness comes again, Open via ADO

Weirdness comes again, Open via ADO

Scheduled Pinned Locked Moved Database
databasehelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DanielO
    wrote on last edited by
    #1

    hi, i have a access database with serveral tables, one of the table was named "Language" While opening via ADO like: pRecordset->Open ((IDispatch *) pCommand, vtMissing, adOpenForwardOnly, adLockReadOnly, adCmdUnknown); which generates a unknown error (" (1)") -> try catch after almost two hours of debugging i couldn't figured out why it didn't work but then i renamed the table in "LangTexts" and everything works fine! i wonder what another names shouldn't be used........... DanielO :confused:

    M 1 Reply Last reply
    0
    • D DanielO

      hi, i have a access database with serveral tables, one of the table was named "Language" While opening via ADO like: pRecordset->Open ((IDispatch *) pCommand, vtMissing, adOpenForwardOnly, adLockReadOnly, adCmdUnknown); which generates a unknown error (" (1)") -> try catch after almost two hours of debugging i couldn't figured out why it didn't work but then i renamed the table in "LangTexts" and everything works fine! i wonder what another names shouldn't be used........... DanielO :confused:

      M Offline
      M Offline
      Martin Ziacek
      wrote on last edited by
      #2

      Language could be a keyword, try it as a [Language], might help. Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

      D 1 Reply Last reply
      0
      • M Martin Ziacek

        Language could be a keyword, try it as a [Language], might help. Martin -------------------------------------------- C'mon we all know computers are experimental devices and should only be used for playing games. Using them for alternative stuff like business, is clearly not using them for what they are intended. Colin Davies

        D Offline
        D Offline
        DanielO
        wrote on last edited by
        #3

        hi, i just tested your idea, and you are right!! thank you ;) DanielO

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups