Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default CFinsert misbehaves

    Any ideas why a CFinsert tag would work on my partner's desktop and not on my
    laptop? Both are using CF 6.0 and MS Access database. All the files are
    identical.

    [MERANT][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access
    Driver]Numeric value out of range (null)

    The Error Occurred in C:\CFusionMX\wwwroot\SRpublisher\zeus\adddo.cfm: line 26

    24 :
    25 : <cfif #duplicates.RecordCount# IS "0">
    26 : <cfinsert datasource="sider" tablename="article">
    27 : </cfif>
    28 :

    H3ath0r Guest

  2. Similar Questions and Discussions

    1. #30924 [Com]: move_uploaded_file() misbehaves
      ID: 30924 Comment by: alex at mintpixels dot com Reported By: himself at zhwau dot net Status: No Feedback Bug...
    2. CFInsert
      Hi. I was hoping I could get help on an issue. I am using CFInsert to add data from a form into two tables that are related. Table 1: Members...
    3. XML Parser misbehaves with &amp;
      I've come across this frustrating behavior with the XML parser when it reads an escaped ampersand (&amp;) If the xml being evaluated is: ...
    4. [PHP] XML Parser misbehaves with &amp;
      This is normal. You have illegal XML there, as it should be in <!]>. I have run across this, and have to clean it up with an awk script. ...
    5. touchpad misbehaves
      My touchpad seriously misbehaves under the 2.4.21 kernel. under X I get a very slow response (I need to set the sesitivity and acceleration values...
  3. #2

    Default Re: CFinsert misbehaves

    From the error it sounds like a number is trying to be added that is too big
    for the field. You get that error if you try and add something like 9 999 999
    999 to an integer field. Are you both adding the same data into the table?

    Also, have you compared the default values and the data types for that table
    in the database?

    Zoe


    zoeski80 Guest

  4. #3

    Default Re: CFinsert misbehaves

    Found it! There was a numeric field where a 'byte' setting SHOULD have been
    good enough (the value was only 147). Setting it to 'integer' solved the
    problem. I had to add the FORMFIELDS attribute to the CFinsert tag and go
    through the fields one by one to determine which one was fouling it up. Ugh.

    H3ath0r Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139