Solved

TAS BOOKS 3 - Btrieve Error: 5

Posted on 2011-02-24
3
1,563 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
error starting database services 3 22
SQL syntax question 6 74
dat and idx extensions 11 43
Access Schema Relationship Design for Multi-Level Chart of Accounts 17 82
Creating and Managing Databases with phpMyAdmin in cPanel.
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
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…

752 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