I do not know the exact code, but look at this link & it might help - 
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=updateData_07.html.

I would guess that you would need to query your database prior to the submit to 
get the existing values of each option & then use an cfif statement to check if 
a value is defined & if so, to update the value by +1.  Sorry I couldn't give 
you better info. I usually record each vote as a separate line in my database & 
then do a record count that matches my WHERE statement.
Sorry. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5352
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to