Ask a Question related to Coldfusion Database Access, Design and Development.
-
rami1972 #1
problem with insert to memo field
I've moved a web site that I manage from a CF server 5 to CF MX.
I didn't change anything in the database itself, the memo field are configured
fine.
Since then, I have a problem to insert more than 300 charecters into memo
fields, if I insert more than 300, this is what I get:
Error Executing Database Query.
Application uses a value of the wrong type for the current operation.
The error occurred in D:\hshome\yes-od\yes-od.com\shal.cfm: line 58
56 : <cfset form.quest = ReplaceNoCase(form.quest,Chr(34),"'","ALL")>
57 :
58 : <cfinsert datasource="yes-od_lalo" tablename="ask" formfields="quest,
email, fName, lName, sdate">
59 : <br>
60 : <br>
Anyone can help?
Thanks
--------------------------------------------------------------------------------
SQL insert into ask (quest,fName,lName,sdate) values ( (param 1) , (param 2)
, (param 3) , (param 4) )
DATASOURCE yes-od_lalo
SQLSTATE
rami1972 Guest
-
ASP - setting form field to insert memo
Hi all. I am using DW's Insert Record behavior in an effort to create a form to insert a record into a MS Access database. Everything works fine -... -
problem displaying MEMO field from ACCESS 2000 on WINDOWS 20003
Hi, I have been using access 2000 for two years on WINDOWS NT to display dynamic aweb page using ASP My ISP has now changed to Windows 2003,... -
Memo Field vs. OLE Obj
> is there any appreciable difference between using a field If it's just TEXT, use Memo (or better yet, store the RTF file in the file system). ... -
Insert Date into Memo Field
I wold like to be able to insert a date into a memo field. I have a form that sets the date and then copies it into the field into a bound control,... -
insert memo type data into a table
I made a table with a Memo data type field. I can insert text longer than 255 into the table manually (from table datasheet view). But when I try... -
sdittbrenner #2
Re: problem with insert to memo field
1. What kind of database? Oracle, MS-SQL, FoxPro ...?
2. Run the query in a try-catch block and look what kind of SQL-error details
you can gather. Perhaps you must use <cfqueryparam> to fix your problem.
sdittbrenner Guest
-
rami1972 #3
Re: problem with insert to memo field
1. it's an access datebase
2. I don't know how to do it, but I'll try to find out.
Thanks
rami1972 Guest
-
rami1972 #4
Re: problem with insert to memo field
well, couldn't fix it... anyone have a clue?
rami1972 Guest
-
rami1972 #5
Re: problem with insert to memo field
ok, it's fine now, i changed the syntax from cfinser to a simple SQL insert statment...
thanks!
rami1972 Guest



Reply With Quote

