Carsten
Wed May 11 05:03:47 CDT 2005
Dan,
i have never heard about the database, but googled on "pervasive database
odbc". Among ~80.000 hits the following page was quite at the top:
http://www.pervasive.com/support/techpapers.asp
In the document
http://www.pervasive.com/documentation/techpapers/pdf/BestPractices_OLEDB_11
02.pdf they claim to offer an odbc and an oledb-driver.
Your client probably got the odbc or oledb-drivers.
Your program could be quite simple. Something like this:
lcConnString= 'Driver={Pervasive ODBC Client
Interface};ServerName=srvname;dbq=@dbname'
NOTE: OR
lcConnString= 'Provider=PervasiveOLEDB;Data Source=C:\path"'
lnConn= SQLConnect( lcConnString )
SQLExec( lnConn, "SELECT * FROM <table>", "MyCursor" )
NOTE: Now the records are in a cursor called MyCursor
Read more about connectionstrings on:
http://www.connectionstrings.com/
--
Cheers
Carsten
_______________________________
"Dan Williams" <danATwillcraft.com> schrieb im Newsbeitrag
news:11828t0k021vj29@news.supernews.com...
> I have in the past imported files from an AS400, and files from MS SQL, or
> access etc.
> Now I have a need to import the customer master table from a pervasive
> database.
> Having no experience with importing these types of files Iwanted to ask
> first.
> Can it be done, what do I need to know etc?
> Thanks you
> (the files end in .btr)
>
>