rmarquez5
Registered User.
- Local time
- Today, 10:17
- Joined
- Sep 10, 2002
- Messages
- 22
Greetings to all. I need to pick your brains, please.
I have a movie database. I am adding an enhancement that keeps track of the ID of the last movie that was printed off in a given category, and current max ID found in that same category. If the IDs are the same, then you don't have new movies to print off. If the IDs are different, then there are movies that haven't been printed off. Simple enough, I hope.
I have a table that simply has the columns category, currentID, and maxID. I manually determined and entered the currentID's. I have queries to determine the maxID for each category. What I want to do is to use the value in these "maxID queries" and update the maxID in the appropriate row in my table.
I have tried to enter SQL into "update to" but to no avail. I have also tried referencing the column that is returned in my maxID query, but that doesn't seem to take either.
Any input would be much appreciated. I hope to hear from you.
Thanks in advance.
Richard
I have a movie database. I am adding an enhancement that keeps track of the ID of the last movie that was printed off in a given category, and current max ID found in that same category. If the IDs are the same, then you don't have new movies to print off. If the IDs are different, then there are movies that haven't been printed off. Simple enough, I hope.
I have a table that simply has the columns category, currentID, and maxID. I manually determined and entered the currentID's. I have queries to determine the maxID for each category. What I want to do is to use the value in these "maxID queries" and update the maxID in the appropriate row in my table.
I have tried to enter SQL into "update to" but to no avail. I have also tried referencing the column that is returned in my maxID query, but that doesn't seem to take either.
Any input would be much appreciated. I hope to hear from you.
Thanks in advance.
Richard