Solved

TAS BOOKS 3 - Btrieve Error: 5

Posted on 2011-02-24
3
1,514 Views
Last Modified: 2012-05-11
I have an error when trying to save an entry in TAS BOOKS 3...

Btrieve Error: 5

Btr Error (X:\ITS\MTATRN.B): 5 Duplicate Key Value

Click OK and it comes up again!

Help, please
0
Comment
Question by:Andy-UK
  • 2
3 Comments
 
LVL 28

Expert Comment

by:Bill Bach
ID: 34979047
Put simply, a Duplicate key error. Is a programming bug. The developer created a unique key, and the database is preventing a duplicate from being created.

You may need to contact the original developer for help on something like this.

Alternatively, yoy can enable MKDE Tracing on the database engine and find out whoch call is resulting in the 5, and figure out how to avoid it yourself, but other than deleting the already-existing record that is causing the dupe, this might be difficult, too.  
0
 

Accepted Solution

by:
Andy-UK earned 0 total points
ID: 35047324
The software was trying to use the same posting number twice...

The previous posting number was the same as the next posting number

Changed the "next posting number" add 1 - and it worked fine
0
 

Author Closing Comment

by:Andy-UK
ID: 35106988
Only correct answer
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Database tuning – How to start and what to tune. This question is frequently asked by many people, both online and offline. There is no hard and fast rule-of-thumb for performance tuning, however, before beginning the tuning process one should a…
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now