I have the need to archive data in certain tables.
To do this I run an:
* append query which adds the data to an archive table.
* delete query which deletes the records from the original table.
I run code that compares the the structure of the original table to the structure of the archive table
However I want to ensure that the append query is correct.
How can I interrogate the append query to see which fields are included from the original table and to which fields the data will be appended to in the archive table?
Thanks in advance
To do this I run an:
* append query which adds the data to an archive table.
* delete query which deletes the records from the original table.
I run code that compares the the structure of the original table to the structure of the archive table
However I want to ensure that the append query is correct.
How can I interrogate the append query to see which fields are included from the original table and to which fields the data will be appended to in the archive table?
Thanks in advance