# A strange message in debug console

**URL:** <https://forum.servoy.com/t/a-strange-message-in-debug-console/9380>\
**Category:** Classic Servoy\
**Created:** [July 29, 2008, 3:35pm UTC](https://forum.servoy.com/t/a-strange-message-in-debug-console/9380 "2008-07-29T15:35:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![log-out](https://avatars.discourse-cdn.com/v4/letter/l/b38774/32.png) [@log-out](https://forum.servoy.com/u/log-out)\
**Post date:** [July 29, 2008, 3:35pm UTC](https://forum.servoy.com/t/a-strange-message-in-debug-console/9380/1 "2008-07-29T15:35:44Z")

</div>

I’m developing a solution in Servoy 4.0. When, in a Form, I create a new Record, I receive this error in debug console:

```auto
Cannot save form data
 > com.servoy.j2db.dataprocessing.DataException: The decimal scale must be >= 0 and <= 28.

```

What does it mean??? ![:shock:]( "Shocked") ![:shock:]( "Shocked") I don’t know even where to look to correct the error!

---

<div class="post-metadata">

**Author:** ![rgansevles](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@rgansevles](https://forum.servoy.com/u/rgansevles)\
**Post date:** [July 29, 2008, 8:46pm UTC](https://forum.servoy.com/t/a-strange-message-in-debug-console/9380/2 "2008-07-29T20:46:02Z")

</div>

log-out,

It seems to be a message generated by the jtds driver used for sybase and ms sql.  
which database do you use?  
what are the column types of the table you are creating the record for?  
and which driver version are you using?

Rob

---

<div class="post-metadata">

**Author:** ![log-out](https://avatars.discourse-cdn.com/v4/letter/l/b38774/32.png) [@log-out](https://forum.servoy.com/u/log-out)\
**Post date:** [July 30, 2008, 8:33am UTC](https://forum.servoy.com/t/a-strange-message-in-debug-console/9380/3 "2008-07-30T08:33:22Z")

</div>

- I use MS Sql 2005, with jtds-1.2.2 driver.
- The table has 4 columns:
- varchar( 8 ) (PK) (Servoy → TEXT( 8 ))
- varchar(50) (Servoy → TEXT(50))
- varchar(4)(Servoy → TEXT(4))
- tinyint (Servoy → INTEGER)

Note: The solution is imported from 3.5. In servoy 3.5 it works fine ![:cry:]( "Crying or Very sad")

---

<div class="post-metadata">

**Author:** ![log-out](https://avatars.discourse-cdn.com/v4/letter/l/b38774/32.png) [@log-out](https://forum.servoy.com/u/log-out)\
**Post date:** [July 30, 2008, 5:38pm UTC](https://forum.servoy.com/t/a-strange-message-in-debug-console/9380/4 "2008-07-30T17:38:07Z")

</div>

Yes. it seems to be a jtds driver error, I changed to the microsoft driver and I don’t received that message.
