I've been trying to set up <cfgrid> as a product administrator to allow users
to add new products to an Access database and change info for existing
products. The problem I'm running into is that fields where the user has not
entered any data are generating the following error:
'Error Executing Database Query.
Invalid data for CFSQLTYPE CF_SQL_BIT.'
Some fields must be optional as some products may not have valid info for
certain fields. (E.G. the color field will not be filled out if it's a food
product.)
I've made sure all the text fields that are optional are indicated as not
required in Access. I've also tried using a default value of 'null' in the
database, but no luck. How can I prevent a ColdFusion error from tripping
every time on of these optional fields is blank?
Posts: n/a