1340 - Error Adding Records Error Format

Last reviewed: 02/01/2012
Article ID: R10190

The information in this article applies to:

SUMMARY

The program was not able to add a record to the specified file. This could be due to an error returned by the Operating System or a data corruption problem.

Specific Errors

Note: The "x" in the following error message(s) acts as a numeric wildcard and can represent any number. Information about these numbers and the codes they represent can be found in KB Article R10044, "How to Interpret Fatal Error Messages."

Error Not Listed: See General Troubleshooting

Resolution for Specific Errors

1340-0-2-0 in T3FEE or T3COST

1340-x-2-0 in A3T3COST (key value already exists)

If you receive error 1340-0-2-0 in A3T3COST when saving a Tabs3 cost transaction associated with an invoice, this may have been caused by restoring Tabs3 from a backup without restoring APS at the same time (or vice versa). If you do not receive this specific error number and file name, skip to the next step.

The A3T3COST file is an APS data file (Version 11 and later) that keeps track of which Tabs3 cost transactions are associated with APS invoices. This makes it possible for APS to automatically change or delete the associated Tabs3 cost transaction(s) (if any) when you change or delete an APS invoice.

In this situation, the APS invoice is still saved even though there was an error, and likewise the Tabs3 cost transaction is also saved. However, since the error prevents APS from adding a record to the A3T3COST file, there is no link between the invoice and the Tabs3 cost. Therefore, changing or deleting the invoice will not affect the Tabs3 cost like it normally would.

The best solution is to restore all Tabs3 and PracticeMaster programs from a backup made prior to the problem that prompted the original restore. If restoring is not an option, you can delete the A3T3COST.DAT and A3T3COST.IDX files. This will resolve the error, but you will lose ALL links between APS invoices and Tabs3 costs.

1340-x-2-0 in another file other than T3FEE, T3COST, or A3T3COST

If you receive a 1340-x-2-0 in a file other than those listed above, see General Troubleshooting steps, below.

1340-x-41-158 (could not unlock data record)

1340-x-x-64

GENERAL TROUBLESHOOTING

REFERENCES


© 1999-2012 Software Technology, Inc.   All rights reserved. Terms of Use
The maker of Tabs3 and PracticeMaster
Tabs3, PracticeMaster, and the “pinwheel” symbol (The "Pinwheel" symbol is a Registered Trademark of Software Technology, Inc.) are registered trademarks of Software Technology, Inc.
e-Mail Suggestions for the Knowledge Base to: kb@Tabs3.com
Technical Support via e-mail is not available.
Knowledge Base:   http://support.Tabs3.com
Web Site:   http://www.Tabs3.com