Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

Re: pass check box value to stored procedure

$
0
0

iccsi,

 

I think the problem you are experiencing is related to how ColdFusion stores boolean values.  They are stored as true booleans, not as integer values.  So you can't pass them directly to the database as a cf_sql_bit or cf_sql_int value.  I usually use a User Defined Function (UDF) to convert boolean values to bit values so they can be used in database interactions.  Here is a similar UDF from CFLib.org.

 

HTH,

-Carl V.


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>