The documentation posted in the Pervasive API Programmer's Reference for the GET_NEXT is as follows:
Start ------------------------------------------------------
The Get Next operation (B_GET_NEXT) retrieves the record in the logical next position (based on the specified key). You can use the...
Howdy,
Using the Btrieve API, I do a GET_EQUAL command on a Btrieve table. I set the OpCode, PosBlock, DataBufLen, KeyBuffer, and KeyNumber and then execute the command.
If a record is found that matches the key, I do some processing and then do a GET_NEXT to get the next record that matches...
Hi,
Using the Btrieve API, I do a GET_EQUAL command on a Btrieve table. I set the OpCode, PosBlock, DataBufLen, KeyBuffer, and KeyNumber and then execute the command.
If a record is found that matches the key, I do some processing and then do a GET_NEXT to get the next record that matches...
I am running an application against a Btrieve database. The application does inserting/deleting/modifying of records in the database. It runs fine when I have exclusive use of the database. But, if someone else is using one the database, the application sometimes locks up.
What would I need to...
I am running an application against a Btrieve database. The application does inserting/deleting/modifying of records in the database. It runs fine when I have exclusive use of the database. But, if someone else is using one the database, the application sometimes locks up.
What would I need to...
Hi,
I open a Btrieve file and get a unique record using GetEqual(). Both give me B_NO_ERROR status codes and a record is returned into the buffer. Immediately afterwards, I do a Delete() and I get a "B_ACCESS_TO_FILE_DENIED".
Any suggestions?
Thanks.
I open a Btrieve file and get a unique record using GetEqual(). All give me B_NO_ERROR status codes and returns a record in the buffer. Immediately afterwards, I do a Delete() and I get a "B_ACCESS_TO_FILE_DENIED".
Any suggestions?
Thanks.
Hi,
I am looking for a way to convert a double to the char representation, ie. put double, which is eight bytes, to char[8];
Example:
double nDb = 12.34;
char szDb[8];
szdB would hold the character representation of nDb which might look something like:
[0] 0''
[1] 0''
[2] 0''
[3] 0''
[4] 0''...
Hi,
I am looking for a way to convert a double to the char representation, ie. put double, which is eight bytes, to char[8];
Example:
double nDb = 12.34;
char szDb[8];
szdB would hold the character representation of nDb which might look something like:
[0] 0''
[1] 0''
[2] 0''
[3] 0''
[4] 0''...
Hi,
I am looking for a way to convert a double to the char representation, ie. put double, which is eight bytes, to char[8];
Example:
double nDb = 12.34;
char szDb[8];
szdB would hold the character representation of nDb which might look something like:
[0] 0''
[1] 0''
[2] 0''
[3] 0''
[4] 0''...
I have seen the B_STAT structure in the sample programs. I have pasted it below. But when you look at the API for B_STAT, PVSW\SDK\doc\prog_api.chm, the below structure doesn't account for all fields returned such as file version, number of records to name a few. Plus there are other...
I am back! Just when I think I have this figured out, something else pops up.
I am using the BTRV(B_STAT...) trying to find the record count. But following the Pervasive file layout for the returned data buffer, the number of records field is garbage. The record length, page size, and number...
I am creating a Btrieve table using the Pervasive Create Table Wizard - "crtblwzd.exe". It lets me set up the fields and creates the table but I can't find where it lets me specify the key field(s)?
How do I do this?
Thank you.
I am creating a Btrieve table using the Pervasive Create Table Wizard - "crtblwzd.exe". It lets me set up the fields and creates the table but I can't find where it lets me specify the key field(s)?
How do I do this?
Thank you.
I created a database with a bunch of tables using the Pervasive Create Database and Create Table utilities.
I then wrote an application(C++) which created and populated a new Btrieve file/table(.MKD) using the Btrieve API (C_CREATE, etc.).
So, how do I put the new file characteristics into...
I am looking for a working example for creating a Btrieve file in C++ using the Btrieve API function B_CREATE.
I can only find snippets on the Pervasive site.
Any help would be appreciated.
Thank you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.