access foxpro data with openrowset

  • Hi all

    I want to convert the foxpro data to SQL with openrowset command.

    I m using the following query to get the data

    select * from openrowset('Microsoft.Jet.OLEDB.4.0',

    'SourceDB=E:\AUTO2004\dbfs;Source Type=DBF;Exclusive=No;BackgroundFetch=Yes;

    Collate=Machine;Null=Yes;Deleted=Yes','select * from model.dbf')

    The following error is returned.

    Server: Msg 7399, Level 16, State 1, Line 1

    OLE DB provider 'Microsoft.Jet.OLEDB.4.0' reported an error. 

    [OLE/DB provider returned message: Could not find installable ISAM.]

    OLE DB error trace [OLE/DB Provider 'Microsoft.Jet.OLEDB.4.0' IDBInitialize::Initialize returned 0x80004005:   ].

    Thanks

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply