Rabu, 13 Februari 2013

RE: [MS_AccessPros] Operation must use an updateable query

 

The SQL for qryWeeklyReceivedInventory was a totals query. I am changing to a select query that pulls the data from the totals query to see if that resolves the problem.

Darrell

From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com] On Behalf Of Duane Hookom
Sent: Tuesday, February 12, 2013 6:21 PM
To: Access Professionals Yahoo Group
Subject: RE: [MS_AccessPros] Operation must use an updateable query

What is the SQL of qryWeeklyReceivedInventory? Does this query allow updates?

Duane Hookom MVP
MS Access

----------------------------------------
> From: DEmbrey@bcbsm.com
>
> The primary key for the table is a compound key consisting of the weekending and the invtype.
>
> Darrell
>
> From: Duane Hookom
>
>
> 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 (6)
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar