CoreBOSBB
Recommended typeofdata for checkboxes - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Development (https://discussions.corebos.org/forumdisplay.php?fid=18)
+--- Forum: coreBOS Development (https://discussions.corebos.org/forumdisplay.php?fid=4)
+--- Thread: Recommended typeofdata for checkboxes (/showthread.php?tid=1201)



Recommended typeofdata for checkboxes - Guido1982 - 08-07-2018

When we create a checkbox (type 56) through vtlib, what is the recommended typeofdata? The data will be saved in the database as an integer, so I thought I~O, but it will be displayed as text, so then again I thought V~O.


RE: Recommended typeofdata for checkboxes - joebordes - 08-08-2018

C~O or C~M, checkbox has it's own letter

For historical reasons the database column is a varchar(3) (they used to put yes in there !!), an integer should work, but sincerely I don't think I have ever tried that


RE: Recommended typeofdata for checkboxes - Guido1982 - 08-08-2018

Cool, thanks for the info!