At 10:46 1/11/01 -0000, you wrote:
>No.
>
>Unfortunately RecordCount is only set by SELECT,
>not by UPDATE, INSERT or DELETE.
Here is what I ended up doing, in case anyone else ever has the same
problem.
SET nocount ON
UPDATE site SET password = <CFQUERYPARAM VALUE="#Hash(Attributes.password1)#">
WHERE siteid = #Client.siteid# AND
password = <CFQUERYPARAM VALUE="#Hash(Attributes.oldpassword)#">
SELECT @@ROWCOUNT as affectedrows
SET nocount OFF
Then I can reference qryname.affectedrows and see if a record was actually
updated.
RPS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists