Hi.  I do that all the time (J2EE app server, SQL Server database)

The checkbox is either selected or not (boolean).  Lets say the checkbox is
for "is the item working?"

if (itemIsWorking.selected == true) then itemWorking = 1
else itemWorking = 0

Put the itemWorking value into the database column (which should obviously
be a number datatype)

For this approach, your database and app server don't matter at all.
However, I'm thinking a better way would be since you are using an app
server, just send the checkbox.selected value directly to the data access
object layer (via your RemoteObject).  Thats a great place to isolate the
translation from "true/false" to "1/0"



On Thu, Nov 12, 2009 at 11:04 AM, stinasius <[email protected]> wrote:

>
>
> hi, i have a flex form am using to collect data and insert that data into
> an access database using coldfusion as backend technology to communicate
> with the form and database. i have one problem though, how can i insert a
> checkbox value from the flex form into the database. thanks guys
>
>

-- 
Chris Downey
http://www.vaccine-tlc.org/
http://www.chrisdowney.name/
http://code.google.com/p/vaccine-toxic-load-calculator/

Reply via email to