Page 1 of 1

CheckBox Value

PostPosted: Thu Apr 28, 2011 8:12 am
by smartmedia

So far, check box keeps in variable only if is checked the value "Checked", otherwise is empty. Could be a lot more helping if the variable keeps the value you set instead of "Checked".
In order to understand the use i will give you an example.
In my application i use a database, that database has a table filled with items. Now, in every item i want to use 6 Checkboxes that show the status of the item.
1) Check box = Top product
2) Check box = New arrival
3) Check box = Hot product and so on.
The status will used later in report to show an image for every CheckBox. So, if checkbox 1 and 3 are checked in report will show up 2 images. As the things is right now i must write extra code to accomplish that. Instead, if my suggestion adopted, i will give on every CheckBox a name or value that will represent the name of embedded image file inside the Pub. This way, for example Checkbox value is = Topproduct in Report will show the embbeded image called TopProduct.png or whatever without to write any extra code.
This technique can be used is various situations. So please consider to add if you agree..


PostPosted: Thu Apr 28, 2011 10:16 am
by Neosoft Support
That's an interesting idea. I will add it to the list.

PostPosted: Fri Apr 29, 2011 2:46 pm
by TMcD
Cool idea. :)