Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

13 keys and 3012

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Have a btrieve file with 13 keys.
When I try to specify key 9-13 on a get operation of any kind, I get an error of 3012. Ideas? Thanks.
 
Does the 3012 occur when using the Function Executor? The 3012 usually occurs on Open calls when there's no engine available.
What interface are you using (Btrieve API, ODBC, etc)?
What programming language are you using (VB, Delphi, etc)?
What version of Btrieve are you using? mirtheil@mirtheil.com
Custom VB and Btrieve development.
Certified Pervasive Developer
Certified Pervasive Technician
 
Can you post your code that fails? Function Executor is just a wrapper around the Btrieve API. Open the file in FE, then issue the various operations (Get, Step, Insert, Delete,etc). You should be able to issue a GetFirst on key 9-13 and if it's a problem in the engine, it'll fail with a 3012. If it's in your code, the FE will probably work.
mirtheil@mirtheil.com
Custom VB and Btrieve development.
Certified Pervasive Developer
Certified Pervasive Technician
 
Are these indexes internal or external?

If they are external, do you happen to have local copies of the index files on your hard drive?

If you do, rename them to something else and try again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top