Unanswered: Convert the application from Btrieve to Pervasive
We have a Delphi4 application with btrieve6.
We want to convert this to pervasive latest version.
Application uses buffer lenth, declare the dta files in record and access it over the place, and datbase extension is "dta" not "dat".
I have no idea how btrieve work
IS it possible to upgrade the data to pervasive with out modifiing the source code much?
If the application is a 32 bit application and uses the Btrieve API, you should be able to just run the existing application against the newer version of Pervasive. If it uses Scalable SQL, you will have to re-write all calls to use ODBC instead of Scalable SQL.
The extension of the data file does not matter. Pervasive can use any extension as long as the application specifies it.
My suggestion would be to download the trial version of the workgroup engine from Pervasive's web site (Pervasive® PSQL), install it on a test machine, and try your application.
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Sorry for my question, I'm really in confuse how they use the btrieve,
It looks like the read data from a buffer, with delphi calls, nowhere I can find BTRV (or BTRIVID, BTRCALL, BTRCALLID) call. Here btrv key word is used , but actually its not a real BtrApi32.pas calls, its a custom designed functions to read from dta file
Here is an example get a patient's first record.
I didn't include all functions here , but I'm sure all these functions are not btrv related
Thank you very much
patientrec = record
nodoss : string;
famille : string;
prenom : string;