Select Distinct(code)
from dealerprice
</cfquery>
<cfloop query="getcodes" >
<cfquery name="updatepricing" datasource="giftovationmdb">
update products set dprice = (Select price from dealerprice where code =
'#getcodes.code#')
where code = '#getcodes.code#'
</cfquery>
ok</cfloop>
the above code gets this error not sure why any help would be appreciated.
Operation must use an updateable query.
The Error Occurred in C:\Inetpub\wwwroot\tools\pricingupdate.cfm: line
10
8 : update products set dprice = (Select price from dealerprice where code
= '#getcodes.code#')
9 : where code = '#getcodes.code#'
10 : </cfquery>
11 : ok</cfloop>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

