The primary key for the table is a compound key consisting of the weekending and the invtype.
Darrell
From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com] On Behalf Of Duane Hookom
Sent: Tuesday, February 12, 2013 4:14 PM
To: Access Professionals Yahoo Group
Subject: RE: [MS_AccessPros] Operation must use an updateable query
Access requires the joins to be on primary/foreign key fields and/or unique indexes in order to be updateable. What's your relationship?
There may be workarounds.
Duane Hookom MVP
MS Access
----------------------------------------
> From: DEmbrey@bcbsm.com
>
> Greetings,
> Why does the following sql return the "Operation must use an updateable query" error.
>
> UPDATE tmpWeeklyOpenInventoryReport AS tbl INNER JOIN qryWeeklyReceivedInventory AS qry
> ON (tbl.InvType = qry.InvType) AND (tbl.WeekEnding = qry.[Week Ending]) SET tbl.Received = qry.Received
>
> Darrell
The information contained in this communication is highly confidential and is intended solely for the use of the individual(s) to whom this communication is directed. If you are not the intended recipient, you are hereby notified that any viewing, copying, disclosure or distribution of this information is prohibited. Please notify the sender, by electronic mail or telephone, of any unintended receipt and delete the original message without making any copies.
Blue Cross Blue Shield of Michigan and Blue Care Network of Michigan are nonprofit corporations and independent licensees of the Blue Cross and Blue Shield Association.
[Non-text portions of this message have been removed]
| Reply via web post | Reply to sender | Reply to group | Start a New Topic | Messages in this topic () |
Tidak ada komentar:
Posting Komentar