RAJA,

I believe got this error once when I developed the database in another version
of access then the one I was writing the code on.


"raja" <mrk812002@yahoo.com> wrote:
>
>Hi all,
>Can anyone tell me what is wrong in this as I am getting connection error.
>
>cmk = "PROVIDER=MICROSOFT.JET.OLEDB.3.51;DATA SOURCE=c://ProgTest.mdb"
>Set ck = New ADODB.Connection
>With ck
>.ConnectionString = cmk
>.Open
>End With
>
>I am getting error as unrecognized database format c://ProgTest.mdb"
>Thanks...