Solved Append Query Key Violation

Here's your original query from your first post.

Here's the working query from @Eugene-LS from post #17.

They are not exactly the same. As far as I can see, the second/working query is missing two fields from your original query.
Yes I'm trying to randomize the data so I can just send everything.
 
working query is missing two fields from your original query.
Ye-e-e-e-e-s-s-s-s!
That's right.
But I worked with the file that was posted and there were really two fields missing.
I didn't make it up any more ...
 

Attachments

  • Screenshot 2022-04-29 232905.png
    Screenshot 2022-04-29 232905.png
    73.1 KB · Views: 143
Some fields are perplexing ...
I've tried the date/time format, but I couldn't get it to ever transfer correctly from excel without having to retype it all because I did not create the original data. I have the calculated fields because I use them for other queries and reports.
 

Attachments

  • Screenshot 2022-04-29 234751_000000000000000000000001.png
    Screenshot 2022-04-29 234751_000000000000000000000001.png
    52.2 KB · Views: 140
  • Screenshot 2022-04-29 234751_000000000000000000000002.png
    Screenshot 2022-04-29 234751_000000000000000000000002.png
    72.3 KB · Views: 143
I've tried the date/time format, but I couldn't get it to ever transfer correctly from excel without having to retype it all because I did not create the original data.
There are some functions for data transform ...
TimeValue() for example ...

...
My local time is late, I'm tired.
I leave you in the good hands of the experts of this forum.
Good luck!
 
We don't know what you did to resolve the problem. Perhaps you could post the query that worked.

The target fields in the table were text so there should have been no problem appending string dates there. Using your original files, the query worked for me once I got rid of the two missing fields.
 
We don't know what you did to resolve the problem. Perhaps you could post the query that worked.

The target fields in the table were text so there should have been no problem appending string dates there. Using your original files, the query worked for me once I got rid of the two missing fields.
The query wasn't the problem. I had a relationship between my client IDs and they were set to double instead of long integer. Once I changed that in my original DB everything appended correctly.
 

Users who are viewing this thread

Back
Top Bottom