Ask a Question related to Coldfusion Flash Integration, Design and Development.
-
magicmerlyn #1
cfgrid / cfgridupdate error with an invalid datatype
I have a problem using cfgrid.
I'm getting the following error message:
?Error casting an object of type to an incompatible type. This usually
indicates a programming error in Java, although it could also mean you have
tried to use a foreign object in a different way than it was designed.?
The error occurs when I run this code:
<cfif IsDefined("form.gridEntered")>
<cfgridupdate grid="FirstGrid" dataSource="#dsn#" Keyonly="true"
tableName="tblManager">
</cfif>
It is connecting to a mySQL 4.1 database.
I think the problem is to do with a field I've added called ?Active? of
datatype INT(1). I am using this as a boolean as as far as I'm aware, this is
the nearest equivalent in mySQL.
In my <cfgrid> I have added the following column.
<cfgridcolumn name="Active" type="boolean" display="yes" width="40"
header="On" bold="true" />
Which shows a tickbox and is the look I want to achieve on the grid.
I think this is causing the Java error. What do I need to do to allow
submission to the grid of this datatype, please?
Thank you for your time and help.
magicmerlyn Guest
-
#39302 [NEW]: integer/datatype error
From: paul at takizo dot com Operating system: FreeBSD 6.1 Released PHP version: 5.1.6 PHP Bug Type: Math related Bug... -
cfgrid / cfgridupdate problems
I've got a simple query to a MS Access 2003 database. I want to be able to edit records using cfgrid. I am able to delete records without problem.... -
CFMX 7 cfgrid / cfgridupdate help
I can't seem to get CFMX 7's Flash cfgrid / cfgripdupdate combination to work. Maybe I just don't understand how it's supposed to work, but I... -
CFGRID/cfgridupdate code needed
.. I would like to make a grid in flash format that will display records from a sql server table and let the users update rows and update the... -
cfgrid and cfgridupdate... archieving changes
Hi, I am attempting to use the very cool cfgrid command for the first time. However, my problem is the following: I want to archieve all... -
magicmerlyn #2
Re: cfgrid / cfgridupdate error with an invalid datatype
To answer my own question on this...
cfgridupdate wasn't working so I wrote a regular block of code to make the required changes when submitting a grid.
magicmerlyn Guest



Reply With Quote

