How to Delete Records Having Identical ID Nums from Two Tables (126272)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft FoxPro for Windows 2.5
- Microsoft FoxPro for Windows 2.5a
- Microsoft FoxPro for Windows 2.5b
- Microsoft FoxPro for Windows 2.6
- Microsoft FoxPro for Windows 2.6a
- Microsoft FoxPro for MS-DOS 2.5
- Microsoft FoxPro for MS-DOS 2.5a
- Microsoft FoxPro for MS-DOS 2.5b
- Microsoft FoxPro for MS-DOS 2.6
- Microsoft FoxPro for MS-DOS 2.6a
- Microsoft FoxPro for Macintosh 2.5b
- Microsoft FoxPro for Macintosh 2.5c
- Microsoft FoxPro for Macintosh 2.6a
This article was previously published under Q126272 SUMMARY
This article shows by example how to delete records that share the same
identification number and exist in two separate tables.
You can use this method to delete duplicates that exist in two separate but
similarly defined tables. Or you can use it, for example, to delete a
customer from your system when that customer has records in a master table
and transaction tables. For example, you might want to create a temporary
table filled with customer numbers to be deleted. Then use one of the
methods in this article to mark the duplicates for deletion from the master
and transaction tables.
Modification Type: | Major | Last Reviewed: | 12/1/2003 |
---|
Keywords: | kbcode KB126272 |
---|
|