If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Pervasive.SQL > Using Pervasive Btrieve API

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-06-09, 11:51
Michael Allen Michael Allen is offline
Registered User
 
Join Date: Apr 2009
Posts: 14
Arrow Using Pervasive Btrieve API

I have been trying to work with the Btrieve API to connect their “DEMODATA” database.
With the Pervasive Control Center [PCC] I can connect to the DEMODATA as shown in the attached illustration using ODBC.

I want to set up the Btrieve API to do the same thing using API instead of ODBC. I have the API installed at C:\pvsw\sdk\ Ints

How do I get Delphi or C builder to connect to this DEMODATA?

Note: --I’m using Delphi’s C ++ Builder 2009

Thanks in advance for any help that might be offered.

Mike
Reply With Quote
  #2 (permalink)  
Old 05-06-09, 12:21
mirtheil mirtheil is online now
Registered User
 
Join Date: Dec 2001
Posts: 1,026
Btrieve doesn't use SQL statements.
If you want to open files in Btrieve API, you have to specify the file name on the Open call. You can also use the URI to specify the table name or filename.

The samples in the INTF directory for the language (C or Delphi) should give you a basic idea of how to connect, retrieve, and insert data.

If you have specific questions, please feel free to post them.
__________________
Mirtheil Software
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On