×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

13 keys and 3012

13 keys and 3012

13 keys and 3012

(OP)
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.

RE: 13 keys and 3012

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

RE: 13 keys and 3012

(OP)
Never used the function executor :(
API Calls
VB4
PSQL2000i

RE: 13 keys and 3012

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

RE: 13 keys and 3012

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close