Microsoft KB Archive/60132

= VB & Basic PDS: ISAMREPR Always Adds 32K to a .MDB File =

Article ID: 60132

Article Last Modified on 8/16/2005

-

APPLIES TO


 * Microsoft Visual Basic for MS-DOS
 * Microsoft BASIC Professional Development System 7.0

-



This article was previously published under Q60132



SUMMARY
The ISAMREPR.EXE utility provided with the Professional Edition of Microsoft Visual Basic for MS-DOS, version 1.0; and Microsoft Basic Professional Development System (PDS) for MS-DOS, version 7.0 always adds at least 32K to an ISAM database file during the repair process. This is correct behavior for ISAMREPR and is documented in the following manuals: Page 150 of the &quot;Microsoft Visual Basic for MS-DOS Professional Edition Features&quot; manual

Page 384 of the &quot;Microsoft Basic Professional Development System 7.0: Programmer's Guide&quot;



MORE INFORMATION
During the repair process, ISAMREPR allocates 32K or more of extra space as &quot;work space&quot; for use while repairing the file. This space is automatically added to the file at the beginning, before any deleted or damaged records are found during the process. For example, if ISAMREPR is run twice on the same file, at least 64K will be added to the file, even though the repair might not have been necessary the first time. However, this added space is not &quot;lost&quot;; it is reused as new records or tables are added to the file.

If the size of the file becomes unmanageable because of unused space, ISAMPACK.EXE can be used to remove the unused space and reduce the size of the file.

Additional query words: VBmsdos BasicCom 1.00 7.00

Keywords: KB60132

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.