A strange message in debug console

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:

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

What does it mean??? :shock: :shock: I don’t know even where to look to correct the error!

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

  • 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:

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