Results 1 to 2 of 2

Thread: Collating sequence not supported...

  1. #1

    Thread Starter
    Addicted Member Bregalad's Avatar
    Join Date
    Jul 2000
    Location
    Oslo,Norway
    Posts
    183

    Question

    I have an Access 97 database that I'm using ADO in VB6 to
    communicate with.

    Most of the time the application works fine, but sometimes
    I get an error saying "Selected collating sequence not
    supported by the operating system".

    This prevents me from connecting to the database until I
    have rebooted my computer and reopened my project in VB.

    I use the following code to connect:

    Dim cn As Connection
    Dim rs As New Recordset

    with cn
    .ConnectionString = "Provider=Microsoft.JET.OLEDB.3.51;Data Source=" & sPath
    .CursorLocation = adUseClient
    .Open
    end with
    'sPath is a string containing the path to my Access db

    The error occurs before i try to open a recordset, so it
    has to be something in this first part of the code.

    Any ideas what I'm doing wrong? Or is this a bug or some
    sort of incompatibility between the Microsoft ActiveX
    Data Objects 2.5 library and Access 97?

  2. #2

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