Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2009
    Posts
    14

    Arrow Unanswered: 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

  2. #2
    Join Date
    Dec 2001
    Posts
    1,109
    Provided Answers: 4
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •