I have a local report in VS 2010. ON that form I have a Tablix box. In that box I have 2 images that I either turn on or off depending on a certain field. The visibility expression of the image box is telling me that the Report item not linked to a dataset.
I have tried using the Datasets button there as well but the actual field is underlined in Red and says its not valid.
The visibility button of the Tablix box works fine, but not the image inside this and the dataset name is set here, but there is no option to set the datset name of the image box.
Can someone help me figure out own to make this work. This worked fine in VS 2005
Here is my If Statement: =iif(Fields!CEOOK.Value="True",False,True). The fields!CEOOK.value is underlined in red and says not valid in scope (Or something like that).
I'll do a test of my own shortly here. Do you have anything special that I should know about? I'm going to tie a custom test class to a tablix and then drop a couple images and make them show or hide based on those values.
mhinkle2
Member
564 Points
519 Posts
Problem with Report
Jan 16, 2013 07:57 PM|LINK
I have a local report in VS 2010. ON that form I have a Tablix box. In that box I have 2 images that I either turn on or off depending on a certain field. The visibility expression of the image box is telling me that the Report item not linked to a dataset. I have tried using the Datasets button there as well but the actual field is underlined in Red and says its not valid.
The visibility button of the Tablix box works fine, but not the image inside this and the dataset name is set here, but there is no option to set the datset name of the image box.
Can someone help me figure out own to make this work. This worked fine in VS 2005
Here is my If Statement: =iif(Fields!CEOOK.Value="True",False,True). The fields!CEOOK.value is underlined in red and says not valid in scope (Or something like that).
N_EvilScott
Star
8179 Points
1466 Posts
Re: Problem with Report
Jan 16, 2013 10:25 PM|LINK
Easy question first, are you sure that the images are children inside the Tablix box and not just using margins to hover over the top of it?
mhinkle2
Member
564 Points
519 Posts
Re: Problem with Report
Jan 17, 2013 02:00 AM|LINK
I tested that and if I delete the tablix box the image goes away to. So I'm sure it's a part of it. Could always be wrong though.
mhinkle2
Member
564 Points
519 Posts
Re: Problem with Report
Jan 26, 2013 09:08 PM|LINK
Does anyone have any ideals on this. There has been no replys.
Mike
N_EvilScott
Star
8179 Points
1466 Posts
Re: Problem with Report
Jan 28, 2013 08:07 PM|LINK
I'll do a test of my own shortly here. Do you have anything special that I should know about? I'm going to tie a custom test class to a tablix and then drop a couple images and make them show or hide based on those values.
mhinkle2
Member
564 Points
519 Posts
Re: Problem with Report
Jan 30, 2013 02:08 AM|LINK
Thanks for any help you can give. I'm not sure what is happening, but I really need to figure this out.
mysorian
Member
204 Points
73 Posts
Re: Problem with Report
Feb 01, 2013 12:58 AM|LINK
Is the image coming from a local file/folder or is it coming from a query to the database?