Hi all !
in contacts_cstm i have a tinyint field corresponding to a checkbox in backend (I suppose, I didn't create fields myself)
this field can be null and I updated it to be null by default (direct update in database)
when i try to insert data with the set_entry function without specifying any value for this field, it's set to 0 (wich was the previous default value in database)
i tried to explicitly set the field to "", it took 0 value
i tried -1 or 2 and get 1
how can i set this field with any other value than 0 or 1 (used because of "boolean" field) ?
thanks
NB : i'm using soap in Java wich I don't really now and don't know how sugar works neither
PS : sorry for my english it's not my langage


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks