Hello!
I have an update query that works great if I specify the criteria manually; however, I would like for it to be a generic catch all, if possible.
Basically, what I want to happen is when the query runs, I want it to find all matching records.
For my example, we will say that there are 10 fields:
- Key (auto number)
- Parent Key (optional number field)
- Breed (text)
- Family info (text)
- 6 other fields are not related to this question.
I want the query to:
1) Find where Key = Parent Key.
2) Copy the Breed and Family info from the record where the key is and then duplicate it in the record where the Parent key matches.
3) The other 6 fields would not be touched at all.
Is there some way to do this? I realize that it would be better to split into a new table for the Parent, to normalize the data, but there is currently a limit and I can only use 1 table.
Thank you for any guidance that you can provide!