Hello smart people who know a lot more about this stuff than I do!! I need some help on a project I am trying to accomplish.
I am building an Access 2007 database that will allow multiple users the ability to track and update Open Orders that need to be billed or have not been billed for some reason.
All Open Orders are housed in one "MASTER" table. Based on that "MASTER" table I have 3 different queries built
- TOP20 (Top 20 orders by value and age of order)
- TOP100 (Next 100 orders excluding the TOP20 by value and age)
- AGE < 0 (All orders that less than 0 age)
All these queries (each have a form created for them) need to have the ability to allow user to enter information into them providing status or other info about the Order and why it hasn't been billed etc.
I have the ability to edit in my TOP20 and AGE < 0 queries because those queries I can create based exclusively on the "MASTER" table but where I am running into an issue is my TOP100 query.
The TOP100 query is an unmatch query, it pulls the next 100 Orders by value and age and excludes Orders in the TOP20, this query uses the MASTER table and the TOP20 query based on the PK COMBO. My SQL is below
SELECT TOP 100 MASTER.OODATE, MASTER.COMBO, MASTER.[Customer Name], MASTER.City, MASTER.State, MASTER.[Customer Number], MASTER.[Order Number], MASTER.[Quote#], MASTER.[Customer PO], MASTER.Status, MASTER.CCD, MASTER.Area, MASTER.[Order Type], MASTER.[Order Value], MASTER.AGE, MASTER.ANALYST, MASTER.COMMENTS, MASTER.[LAST UPDATED DATE], MASTER.DEAD
FROM MASTER LEFT JOIN TOP20 ON MASTER.COMBO=TOP20.COMBO
WHERE (((MASTER.AGE)>=0) AND ((TOP20.COMBO) Is Null))
ORDER BY MASTER.[Order Value] DESC , MASTER.AGE;
The problem with this query is because I am using both the MASTER table and the TOP20 query to get my desired results, my users are not allowed to enter information, I get the message "This recordset is not updateable".
I have tried multiple different ways around this and researched this issue but still don't have a solution to my problem. Does anyone know how I can get this query to work or can you provide some suggestions on a work-around?
Thank you in advance for your help
I am building an Access 2007 database that will allow multiple users the ability to track and update Open Orders that need to be billed or have not been billed for some reason.
All Open Orders are housed in one "MASTER" table. Based on that "MASTER" table I have 3 different queries built
- TOP20 (Top 20 orders by value and age of order)
- TOP100 (Next 100 orders excluding the TOP20 by value and age)
- AGE < 0 (All orders that less than 0 age)
All these queries (each have a form created for them) need to have the ability to allow user to enter information into them providing status or other info about the Order and why it hasn't been billed etc.
I have the ability to edit in my TOP20 and AGE < 0 queries because those queries I can create based exclusively on the "MASTER" table but where I am running into an issue is my TOP100 query.
The TOP100 query is an unmatch query, it pulls the next 100 Orders by value and age and excludes Orders in the TOP20, this query uses the MASTER table and the TOP20 query based on the PK COMBO. My SQL is below
SELECT TOP 100 MASTER.OODATE, MASTER.COMBO, MASTER.[Customer Name], MASTER.City, MASTER.State, MASTER.[Customer Number], MASTER.[Order Number], MASTER.[Quote#], MASTER.[Customer PO], MASTER.Status, MASTER.CCD, MASTER.Area, MASTER.[Order Type], MASTER.[Order Value], MASTER.AGE, MASTER.ANALYST, MASTER.COMMENTS, MASTER.[LAST UPDATED DATE], MASTER.DEAD
FROM MASTER LEFT JOIN TOP20 ON MASTER.COMBO=TOP20.COMBO
WHERE (((MASTER.AGE)>=0) AND ((TOP20.COMBO) Is Null))
ORDER BY MASTER.[Order Value] DESC , MASTER.AGE;
The problem with this query is because I am using both the MASTER table and the TOP20 query to get my desired results, my users are not allowed to enter information, I get the message "This recordset is not updateable".
I have tried multiple different ways around this and researched this issue but still don't have a solution to my problem. Does anyone know how I can get this query to work or can you provide some suggestions on a work-around?
Thank you in advance for your help