JamesMcS
Keyboard-Chair Interface
- Local time
- Today, 01:31
- Joined
- Sep 7, 2009
- Messages
- 1,819
Hi everyone, hoping you can help! Rapidly running out of hair to pull out....
I'm trying to update a field in a table of top 20 manufacturers for 7 managers with their respective rank, using the "rank" select statement from the Microsoft website (select (count(*)) etc.) Access is coming up with an error saying I must use an updateable query. Is there a workaround to this? I've read solutions to similar problems elsewhere that include using DLOOKUP, but the information doesn't exist in another table, just as a calculated field in my update query.
The Top 20 table is populated with a for loop that selects top 20 manufacturers based on manager ID number (1-7), this works fine and I have a 140-row table showing manager ID 1-7, and their respective top 20 manufacturers. What I wanted to do was create another for loop that updated the rank field with the select count * statement, where manager ID was equal to the iteration of the for loop. Is this possible?
Thanks in advance!
J
I'm trying to update a field in a table of top 20 manufacturers for 7 managers with their respective rank, using the "rank" select statement from the Microsoft website (select (count(*)) etc.) Access is coming up with an error saying I must use an updateable query. Is there a workaround to this? I've read solutions to similar problems elsewhere that include using DLOOKUP, but the information doesn't exist in another table, just as a calculated field in my update query.
The Top 20 table is populated with a for loop that selects top 20 manufacturers based on manager ID number (1-7), this works fine and I have a 140-row table showing manager ID 1-7, and their respective top 20 manufacturers. What I wanted to do was create another for loop that updated the rank field with the select count * statement, where manager ID was equal to the iteration of the for loop. Is this possible?
Thanks in advance!
J