Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Numeric values

    Hi

    I have a form which updates a ms access database with product descriptions and
    values associated with the record. In this case the values are a decimal number
    10.99 for example.

    The ms access database field is set up as a fixed integer with 2 deciimal
    places

    The cf form submits the data as text but seems to strip off the decimal place
    digits, so uploading 10.99 puts just 10.00 into the data field.

    The action to insert the code is simply <cfinsert ....etc>

    Any ideas - or am I missing the obvious?

    Thanks

    plaustrum Guest

  2. Similar Questions and Discussions

    1. Getting the values of a series of numeric steppers
      I've got a form with a series of form items like: <mx:FormItem> <mx:HBox> <mx:CheckBox id="c0" width="{colW}"...
    2. How to convert timestamp values to numeric (SQL70)
      Pedro, How big is your numeric value? It sounds like an outside of range problem. Timestamp is 8 bytes, which means a pretty big number as a...
    3. Using Radio buttons/checkboxes to add values into numeric calculations
      I currently have a set of simple calculations to determine square footage and multuply that by a dollar amount per foot. I use form fields that are...
    4. Enumerators - Replace Numeric Values with Text
      Hi all, I have a column which looks like this: Status ID ========= 100 100
    5. extraction of numeric values question (HELP)
      Hi Folks, We are running DB2 UDB EE 7.2 on WIN2000. The project is migrating previous SQL Server 2000 to current DB2 Server using IBM MTK. It's a...
  3. #2

    Default Re: Numeric values

    To avoid confusion I would make the database column decimal type
    and, in the insert statement, not use single-quotes around that data.



    BKBK Guest

  4. #3

    Default Re: Numeric values

    Many Thanks

    It was the database column that needed changing from integer to decimal.

    Works fine now..
    plaustrum 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