Hi, Scott,
First thing that comes to mind is that the value of all your radio buttons is
1. Each button should have a different value, otherwise when you get it into
Access, no matter what the response is, the value will always be 1.
You didn't put any append or update code in your question so I assume the
problem is with your data and not actually getting the data in there.
Hope this is helpful,
Renee Spadaro
--------------------------------------------------------------0
> I am trying to create a simple poll for a tshirt selection. How can I
> create the code where I can post the results of the poll with the
> total count for each tshirt for each vote selected into MS Access
> database? What is missing? Code is below.
> Thanks!
>
>
>
> <cfform name="tshirt poll" action="" method="post">
> <table width="349" height="281" align="center" cellpadding="10"
> cellspacing="0">
>
> <tr>
> <td width="282"> <div align="center">T-Shirt #1 </div></td>
> <td width="25"><input type="radio" name="radio" value="1"> </td>
> </tr>
>
> <tr>
> <td> <div align="center">T-Shirt #2 </div></td>
> <td><input name="radio" type="radio" value="1"/></td>
> </tr>
>
> <tr>
> <td> <div align="center">T-Shirt #3 </div></td>
> <td><input name="radio" type="radio" value="1"/></td>
> </tr>
>
> <tr>
> <td> <div align="center">T-Shirt #4 </div></td>
> <td><input name="radio" type="radio" value="1"/></td>
> </tr>
>
> <tr>
> <td> <div align="center">T-Shirt #5 </div></td>
> <td><input name="radio" type="radio" value="1"/></td>
> </tr>
>
>
>
> <div align="center">
>
>
> <div align="center"></div>
> <tr>
> <td align="center"><cfinput type="submit" name="Submit"
> value="Submit"></td>
> </tr>
>
> </div>
> </table>
> </cfform>
>
>
>
> Scott Clayton
> Programmer/Analyst
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:5342
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm