11-09-2010 04:17 AM
Hello All,
I got help from the forum to read Boolean label or caption of given boolean check or tick. But in my project i have to read boolean text only. There are around 40 option and which ever i will select, its boolean text should be read.
My project is about that i should read from excel file all the names and those names should be given to boolean text and which ever is selected among the list with that name only the file should be saved. So for this purpose i need to read boolean text only. As at run time i cant change the boolean label or caption so when reading from excel i can change boolean text and need to read it.
I am attaching the my code to read from excel and give those names to boolean check. Further i need to save the file with that name only.
Thanks in advance
pals
Solved! Go to Solution.
11-09-2010 08:37 AM
Does this help? I'm not sure that I understand your question.
11-09-2010 08:52 AM
Hi,
Thanks a lot... I also tried same and got the result... Only problem that i have to put all boolean tick first in cluster and then do for each. But in future incase no increased then this program will fail.
This is the solution which i wanted... But incase if you have an idea that automatically it should generate the boolean tick and which ever is ticked it should read the boolean text...
Thanks so much...
pals
11-09-2010 01:23 PM
But in future incase no increased then this program will fail.
Instead of a Cluster of Boolean, you could use an array of clusters that contain a Boolean and String.
The size of the array could then be based on the number of strings from the Excel file.
But incase if you have an idea that automatically it should generate the boolean tick and which ever is ticked it should read the boolean text...
An event structure could be put in a while loop and an event created for if the array changes value and return the item that was changed in the array.
Omar
11-10-2010 03:45 AM
Thanks so much Omar.... I wanted something like this only i tried so somewhere i was failing thanks so much so much....
pals