|
Thanks for the help, but incremented by 2. Thanks - Tom Schreck 817-252-4900 [EMAIL PROTECTED] I have not failed.
I've found 10,000 ways that won't work. - Thomas Edison -----Original Message----- Did you try doing just SQL? <cfquery name="updateHitCount"
datasource="#Request.dsn#"> That's what I usually do, and it works for me on SQL 7
and 2000 :) -- "Hello Stupid, and welcome to your crappy
computer." -----Original Message----- I have a stored procedure being called via cfmodule
that queries a specific record, retrieves its hit count, then increments the
hitcount by 1. We noticed the hit count being updated by 2. I
figured something's wrong with the stored procedure. I replaced the
stored proc call in the cfmodule call with actual sql query to retrieve the hit
count then a second query to update hitcount by 1. Record is still
getting updated by 2. So I figure somehow the cfmodule is getting called
twice. So I then remove the call to the cfmodule and replace it with a
query to retrieve the hitcount and a second query to increment the hitcount by
1. Record is still getting updated by 2. So I figure there's a call
somewhere else that's causing the record to be updated. I removed the 2
queries to update hitcount all together. Re run the page and hit count
does NOT get updated. So it's pretty evident that the 1 query is updating
record by 2 versus 1. ==^================================================================This email was sent to: [EMAIL PROTECTED]EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bWanp4Or send an email to: [EMAIL PROTECTED]T O P I C A -- Register now to manage your mail!http://www.topica.com/partner/tag02/register==^==================================================================^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9 Or send an email to: [EMAIL PROTECTED] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================ |
Title: RE: HELP: Strange CF Problem
- RE: HELP: Strange CF Problem Scott Van Vliet
- RE: HELP: Strange CF Problem John Beynon
- RE: HELP: Strange CF Problem Michael Porter
- RE: HELP: Strange CF Problem Tom Schreck
- RE: HELP: Strange CF Problem Timothy Heald
- RE: HELP: Strange CF Problem Tom Schreck
- RE: HELP: Strange CF Problem Tom Schreck
- Re: HELP: Strange CF Problem David Huyck
- Re: HELP: Strange CF Problem Jason Hill
- RE: HELP: Strange CF Problem Scott Van Vliet
- RE: HELP: Strange CF Problem Shannon Hicks
- RE: HELP: Strange CF Problem Brian Kotek
- RE: HELP: Strange CF Problem Chris Montgomery
- RE: HELP: Strange CF Problem John Beynon
- RE: HELP: Strange CF Problem John Beynon
- RE: HELP: Strange CF Problem John Beynon
