Forum Discussion
standenman
Jul 24, 2022Copper Contributor
Rather complex Append Query
I am trying to update client records from information provided in a Zoho online form - a csv file. The data, however, is spread over several tables and involved one to one and one to many relationsh...
- Jul 25, 2022
standenman This is as close as I come to a flat out "never".
Never try to append records to multiple tables in a single query.Start with the One-side tables. Append their records.
Then use the resulting Primary Keys in subsequent appends to the Many-side tables.
Of course, that requires you to have enforced Referential Integrity on all relationships. The screenshot does show that, and that's a potential red flag.
arnel_gp
Jul 25, 2022Steel Contributor
cross-post here:
https://www.access-programmers.co.uk/forums/threads/transform-csv-file-to-match-access-table-for-import.324127/#post-1837072
https://www.access-programmers.co.uk/forums/threads/transform-csv-file-to-match-access-table-for-import.324127/#post-1837072
- standenmanJul 25, 2022Copper ContributorRelated yes, but different question.