Hi All
My problem:
We update our accounting system customer details from an A2K db, via an export/import/ODBC interface. Works fine.
Unfortunately the accounting system will not overwrite existing data with blank/null information. So when a customer's address changes from a two line address to a one line address, the accounting system retains the old data in the Address Line 2 field! Same for customers who no longer have a fax machine for example; we cannot "delete" the fax number in the accounting system via the import.
So to minimise the amount of work involved in updating the accounting system manually, (it will be a customer by customer process, and many screens per customer to be viewed to correct the old data), I want to produce a report showing the current Access information followed by the current Accounting system information (which I have via import to Access), BUT only for those customers where "field pairs" do not match e.g. AccountingFax <> AccessFax.
The two tables will have the same number of fields, and in the same order, and the same number of records in each table and they can of course be matched on a common customer number.
How can I easily code for a comparison of all fields please?
Reporting could be all fields, highlighting non-matching fields, or preferably, just the field pairs with the non-matching data.
All suggestions gratefully received.
Cheers
AlanM
My problem:
We update our accounting system customer details from an A2K db, via an export/import/ODBC interface. Works fine.
Unfortunately the accounting system will not overwrite existing data with blank/null information. So when a customer's address changes from a two line address to a one line address, the accounting system retains the old data in the Address Line 2 field! Same for customers who no longer have a fax machine for example; we cannot "delete" the fax number in the accounting system via the import.
So to minimise the amount of work involved in updating the accounting system manually, (it will be a customer by customer process, and many screens per customer to be viewed to correct the old data), I want to produce a report showing the current Access information followed by the current Accounting system information (which I have via import to Access), BUT only for those customers where "field pairs" do not match e.g. AccountingFax <> AccessFax.
The two tables will have the same number of fields, and in the same order, and the same number of records in each table and they can of course be matched on a common customer number.
How can I easily code for a comparison of all fields please?
Reporting could be all fields, highlighting non-matching fields, or preferably, just the field pairs with the non-matching data.
All suggestions gratefully received.
Cheers
AlanM