1340 - Error Adding Records

Last reviewed: 02/01/2012
Article ID: R10190
The information in this article applies to:
- Tabs3 Billing Software Version 16, 15, 14 and 12
- PracticeMaster Version 16, 15, 14 and 12
- System Configuration Version 16, 15, 14 and 12
- Tabs3 Remote Entry Software Version 16, 15, 14 and 12
- Tabs3 Trust Accounting Software (TAS) Version 16, 15, 14 and 12
- Tabs3 General Ledger Software (GLS) Version 16, 15, 14 and 12
- Tabs3 Accounts Payable Software (APS) Version 16, 15, 14 and 12
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
- Run the Data File Integrity Check (DFIC) program and resolve any errors that are
reported. If the problem is in Tabs3, also run the Archive Data Integrity Check and
resolve any errors that are reported. Note that not all cases of corrupted data can
be caught by these programs. Therefore, even if the integrity check reports no errors,
corrupted data is still a possibility. Follow the next step and be sure to run another
Data File Integrity Check after reindexing.
- Make a temporary backup and run the Reindex Files program with the Compact
option selected for the specific file referenced in the error message. The Reindex Files
program deletes the existing index files for the selected data files and recreates them.
The compact option will reset the reference numbers on the transactions in the file that
is reindexed. The ability to recreate the index files allows for the possibility of
salvaging data if the index files become corrupted due to hardware failure. After
reindexing, ALWAYS run the Data File Integrity Check to make sure there are no errors.
- If you are running in a network environment, see KB Article
R10184 - Network Troubleshooting Guide.
- If you are running on a Windows network, determine whether disk space quotas are
enabled. If you are limited to a fixed amount of disk space, fatal errors may occur
if you perform an action that causes you to exceed that limit. For more information,
please see KB Article R10957, "How Disk Space Quotas
Affect Tabs3 and PracticeMaster Software".
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.
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)
A change was made recently to the Version 15.3 DLL files that could reduce
the possibility of this error occurring. Make sure you have Version
15.3.2.160 or later installed (see Help | About if you are unsure of your
exact version). If you continue to receive this error after updating, see the
steps below for additional troubleshooting.
This error has been known to be caused in certain
mixed network environments where you have for example a Vista (or Windows
Server 2008) client running at the same time as a Windows XP
client.
Microsoft Knowledge Base Article
979521 includes
information regarding this error and a Hotfix.
- Run the Data File Integrity Check (DFIC) program and resolve any errors
that are reported. If the problem is in Tabs3, also run the Archive Data
Integrity Check and resolve any errors that are reported. Note that not all
cases of corrupted data can be caught by these programs. Therefore, even if
the integrity check reports no errors, corrupted data is still a
possibility.
- If you are running in a network environment, see KB Article
R10184, "Network Troubleshooting Guide".
1340-x-x-64
- This error can result from a temporary loss of Network Connection.
- See KB Article R11289 - Troubleshooting Error Code 64: Network Name No Longer Available
- See KB Article R10184 - Network Troubleshooting Guide
- Run the Data File Integrity Check (DFIC) program and resolve any errors that are
reported. If the problem is in Tabs3, also run the Archive Data Integrity Check and
resolve any errors that are reported. Note that not all cases of corrupted data can
be caught by these programs. Therefore, even if the integrity check reports no errors,
corrupted data is still a possibility. Follow the next step and be sure to run another
Data File Integrity Check after reindexing.
- Make a temporary backup and run the Reindex Files program with the Compact
option selected for the specific file referenced in the error message. The Reindex Files
program deletes the existing index files for the selected data files and recreates them.
The compact option will reset the reference numbers on the transactions in the file that
is reindexed. The ability to recreate the index files allows for the possibility of
salvaging data if the index files become corrupted due to hardware failure. After
reindexing, ALWAYS run the Data File Integrity Check to make sure there are no errors.
- If you are running in a network environment, see KB Article
R10184, "Network Troubleshooting Guide".
- If you are running on a Windows network, determine whether disk space quotas are
enabled. If you are limited to a fixed amount of disk space, fatal errors may occur
if you perform an action that causes you to exceed that limit. For more information,
please see KB Article R10957, "How Disk Space Quotas
Affect Tabs3 and PracticeMaster Software".
REFERENCES
- KB Article R10044 - How to Interpret Fatal Error Messages
- KB Article R10184 - Network Troubleshooting Guide
- KB Article R10957 - How Disk Space Quotas Affect Tabs3 and PracticeMaster Software
THE INFORMATION PROVIDED IN THE SOFTWARE TECHNOLOGY, INC.
KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. SOFTWARE
TECHNOLOGY, INC. DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR
IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE. IN NO EVENT SHALL SOFTWARE TECHNOLOGY, INC. OR ITS
SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT,
INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN
IF SOFTWARE TECHNOLOGY, INC. OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR
LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE
FOREGOING LIMITATION MAY NOT APPLY.
© 1999-2012 Software Technology, Inc. All rights
reserved. Terms of Use
The maker of Tabs3 and PracticeMaster
Tabs3, PracticeMaster, and the “pinwheel” symbol (
) 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