Customer Portal

type mismatches on insert

Comments 1

  • Avatar
    avackova
    0
    Comment actions Permalink
    Hello Bob,
    the message clearly says, that you are trying to put string value to numeric column. I think that somewhere is missing mapping between clover fields and database fields, so Clover tries to put fields to database in different order, that there have been pulled out. Please check your sql query in DBInputTable - if it contains direct mapping (something like select $field1:=dbField1, $field2:=dbField2 from mytable), you can be sure, which clover fields contain data from which db fields. Check also your DBOutputTable - the best way to ensure proper mapping between clover fields and database fields is to use direct mapping as well (insert into mytable (f1,f2,...,fn) values (val1, $field2, ...,$fieldm ).

Please sign in to leave a comment.