Forum > LazReport

checkbox don't change


hello i have report with checkbox but always show up cross don't empty box when the field value is false, is linked to sqlite table 

on report i put script to change the state also if put take fieldvalue is same

Your script is missing "end" for the first "begin". Maybe this is the cause.

And you don't have to write a conditional statement, it's enough:
--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---Checked := [ZROQTests.pass]

thanks something wrong sqlite show me true when not was true value on fields....

thanks so much paweld


[0] Message Index

Go to full version