ACC: How to Use dBASE SET DELETED in MS Access (1.x/2.0)Last reviewed: May 8, 1997Article ID: Q95388 |
The information in this article applies to:
SUMMARYModerate: Requires basic macro, coding, and interoperability skills. When you delete a record in a dBASE or a Microsoft FoxPro database, the record is actually only marked for deletion. It is not permanently removed until the database is packed in dBASE or FoxPro. This characteristic can produce confusing effects when you open an attached table in Datasheet view. This article demonstrates how to use functionality similar to the dBASE DELETED commands in Microsoft Access so that records marked for deletion do not appear in any output form, such as a table in Datasheet view or a report in Print Preview.
MORE INFORMATIONIn dBASE or FoxPro, records that are marked for deletion still appear in any output form unless you SET DELETED to ON. Because of this, Microsoft Access displays such records in an attached dBASE or FoxPro table, even if the records are marked for deletion. To see this characteristic in Microsoft Access, follow these steps:
To prevent this behavior from occurring, Microsoft Access provides functionality identical to the dBASE and FoxPro SET DELETED command. To take advantage of this functionality, be sure that you set Deleted to On if you do not want records that have been marked for deletion to show. Use the following procedure to do this:
|
Additional query words: missing records
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |