CheckBox Component

Stimulsoft Reports.JAVA discussion
Post Reply
Manuel Costa
Posts: 72
Joined: Thu Sep 24, 2020 2:40 pm
Location: Brazil

CheckBox Component

Post by Manuel Costa »

Hello gentlemen, would you like to ask a question about how the checkbox component works?

I tried to create a report with checkbox and added the data source field but it doesn't show any signs of right or wrong, if you can help me with this scenario by explaining me how I can do it or some example of how to make the checkbox field work.

Attached is an example of what I'm trying to do.
Attachments
checkmarca01.mrt
(6.67 KiB) Downloaded 185 times
Capturar.JPG
Capturar.JPG (128.84 KiB) Viewed 3676 times
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: CheckBox Component

Post by Lech Kulikowski »

Hello,

Which values do you have in the {FONTE.FOLDER_ID} column. It should be the same as in the Values property.

Thank you.
Manuel Costa
Posts: 72
Joined: Thu Sep 24, 2020 2:40 pm
Location: Brazil

Re: CheckBox Component

Post by Manuel Costa »

Hello, sorry for the delay so the column {SOURCE.FOLDER_ID} is a field of type Double, I tried several changes but none had any effect, I'm using the latest version of Stimulsoft released, I'm in doubt because I didn't find an example, video or something in manual that could guide me.
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: CheckBox Component

Post by Lech Kulikowski »

Hello,

Please send us a test data for your report.

Thank you.
Manuel Costa
Posts: 72
Joined: Thu Sep 24, 2020 2:40 pm
Location: Brazil

Re: CheckBox Component

Post by Manuel Costa »

Em anexo o relatorio
Attachments
checkmarca01.mrt
(6.67 KiB) Downloaded 149 times
Manuel Costa
Posts: 72
Joined: Thu Sep 24, 2020 2:40 pm
Location: Brazil

Re: CheckBox Component

Post by Manuel Costa »

Attached the report
Attachments
checkmarca01.mrt
(6.67 KiB) Downloaded 150 times
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: CheckBox Component

Post by Lech Kulikowski »

Hello,

Please send us test data for your report.

Thank you.
Manuel Costa
Posts: 72
Joined: Thu Sep 24, 2020 2:40 pm
Location: Brazil

Re: CheckBox Component

Post by Manuel Costa »

Hello, after performing some tests following the guidelines given, you can make the checkbox work for values ​​of type 1/0 and True/False with corresponding value fields in the columns of the tables but there are two other types of values ​​that are the types Yes/ No and On/Off, want to know how they work and what kind of fields do they accept?
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: CheckBox Component

Post by Lech Kulikowski »

Hello,

Yes/No - string values "Yes" or "No",
On/Off - string values "On" or "Off"

Thank you.
Attachments
Screenshot 2021-10-05 000642.png
Screenshot 2021-10-05 000642.png (88.83 KiB) Viewed 2358 times
Post Reply