G
Guest
I have an Access procedure that uses TransferSpreadsheet to transfer the
results of four queries to separate sheets in the same Excel file. It worked
as expected until I added one more field (the same field) to each query. Now
the results of the first two queries are exported out as expected, but for
last two queries I get an error message:
The contents of fields in 16 records(s) were deleted, and 0 record(s) were
lost due to key violations.
The results of the last two queries are exported--all except the contents of
the new field that I added. All four queries execute as expected when run in
Access. How can there be a key violation in the Excel spreadsheet I am
exporting to (for two queries, but not the other two)?
Any help would be appreciated!
Judy
results of four queries to separate sheets in the same Excel file. It worked
as expected until I added one more field (the same field) to each query. Now
the results of the first two queries are exported out as expected, but for
last two queries I get an error message:
The contents of fields in 16 records(s) were deleted, and 0 record(s) were
lost due to key violations.
The results of the last two queries are exported--all except the contents of
the new field that I added. All four queries execute as expected when run in
Access. How can there be a key violation in the Excel spreadsheet I am
exporting to (for two queries, but not the other two)?
Any help would be appreciated!
Judy