C
ChrisM
Hi Guys,
All I want to do is the following::
UPDATE partsMasterFile
SET stockQuantity =
(
SELECT sum(stockQuantity)
FROM partsDetails
)
This sort of thing works fine with Oracle, SQL Server etc.
But Access seems to have a problem with it. It says 'Operation Must Use
updateable query'...
Does anyone have a way around this? Suggestions involving userdefined
functions are of no use as I am need to call the query from a VB program
(via ADO) and the JET engine doesn't support userdefined functions in this
way. (great!)
I anyone can help, I would really appreciate it as it is really dpoing my
head in :-(
Best Regards,
ChrisM
All I want to do is the following::
UPDATE partsMasterFile
SET stockQuantity =
(
SELECT sum(stockQuantity)
FROM partsDetails
)
This sort of thing works fine with Oracle, SQL Server etc.
But Access seems to have a problem with it. It says 'Operation Must Use
updateable query'...
Does anyone have a way around this? Suggestions involving userdefined
functions are of no use as I am need to call the query from a VB program
(via ADO) and the JET engine doesn't support userdefined functions in this
way. (great!)
I anyone can help, I would really appreciate it as it is really dpoing my
head in :-(
Best Regards,
ChrisM