Skip to main content
Inspiring
Jun 13, 2012 4:16 AM UTC
Question

Problem with mdb data type

I'm working with an mdb database and I've got a form with a <cftextarea> field set to rich text. When I try to update the data table I'm getting the following error:

Application uses a value of the wrong type for the current operation.

It's fine with a short entry, even with a link, but when I enter a longer string, I'm getting the error. The field in the database is a memo field set to allow rich text, and I've got the data type in the update query set to "cf_sql_longvarchar". Should I be using a different data type for this? I know for the purpose of what I'm doing I should probably be using an include instead of a database field, but I'm hoping this will work for the time being until I get more familiar with CF.

Thanks in advance for any help you could offer!

Jeremy

    This topic is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    jawmusicAuthor
    Inspiring
    Jun 13, 2012 10:37 PM UTC

    Nevermind, I got it. clob data type works perfectly!

    Translate