Results 1 to 2 of 2

Thread: [RESOLVED] ODBC Connection error opening RS

  1. #1

    Thread Starter
    Frenzied Member FishGuy's Avatar
    Join Date
    Mar 2005
    Location
    Bradford UK
    Posts
    1,708

    Resolved [RESOLVED] ODBC Connection error opening RS

    I get an error on this line
    rs.Open strSQL, cnn, adOpenDynamic, adLockOptimistic, adCmdText

    It used to work fine until I made the only two columns in the table it references an Index.

    Would anyone happen to know why this would cause a problem.

  2. #2

    Thread Starter
    Frenzied Member FishGuy's Avatar
    Join Date
    Mar 2005
    Location
    Bradford UK
    Posts
    1,708

    Re: ODBC Connection error opening RS

    More info...
    Its not the Index thats causing the problem. Previously when it worked there was an identity column PK_ID. When I deleted this column due to it not been required the above code started erroring.

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