Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Checkbox displaying value from SQL?
Migrateduser
<p>Hello I am new in using BIRT.</p>
<p> </p>
<p>Not sure is this possible. As I am working on an application which generate report showing the data from the SQL database.</p>
<p> </p>
<p>I got a problem is that the report need to show the SQL data value by checkbox which the data is string "T"</p>
<p> </p>
<p>I know that checkboxes can be make by using HTML code, but I have no idea how to code the checkboxes to show the value from SQL database.</p>
<p> </p>
<p>Also is it possible to use if statement to control the checkbox? like this (I am using c# trying to show what I want to code as I don't know how to code correctly on BIRT)</p>
<p> </p>
<p>if (sqldatavalue == T){</p>
<p> checkbox.checked = true;</p>
<p>}</p>
<p>else{</p>
<p>checkbox.checked = false;</p>
<p>}</p>
<p> </p>
<p>many thanks,</p>
Find more posts tagged with
Comments
There are no comments yet