Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

TAS BOOKS 3 - Btrieve Error: 5

Posted on 2011-02-24
3
Medium Priority
?
1,642 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

972 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