S
sybmathics
Hi,
I'm trying to create an updatequery that will reset the quantity of articles
in stock based on the last order.
So, I have the following tables:
tblarticles: ArticleID (key), Description, Stock
tblCustomers: CustomerID (key), Name, Location
tblOrders: OrderID (key), OrderDate, CustomerID
tblOrderLines: OrderID (key), ArticleId (key), Quantity
I created a query that gives the latest OrderID
I use this query to create a new query with OrderID, ArticleID and Quantity
(qryOrderedInLastOrder)
Now I want to create an updatequery using the tblArticles and
qryOrderedInLastOrder
I have added Stock and want it te be updated to Stock -
qryOrderdInLastOrder!Quantity.
However, I get warning message "operation must use an updateable query".
I don't see what I'm doing wrong.
Please help.
Sybmathics
I'm trying to create an updatequery that will reset the quantity of articles
in stock based on the last order.
So, I have the following tables:
tblarticles: ArticleID (key), Description, Stock
tblCustomers: CustomerID (key), Name, Location
tblOrders: OrderID (key), OrderDate, CustomerID
tblOrderLines: OrderID (key), ArticleId (key), Quantity
I created a query that gives the latest OrderID
I use this query to create a new query with OrderID, ArticleID and Quantity
(qryOrderedInLastOrder)
Now I want to create an updatequery using the tblArticles and
qryOrderedInLastOrder
I have added Stock and want it te be updated to Stock -
qryOrderdInLastOrder!Quantity.
However, I get warning message "operation must use an updateable query".
I don't see what I'm doing wrong.
Please help.
Sybmathics