Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

? about visibiity/toggle

Status
Not open for further replies.

access97to2000

Programmer
Aug 12, 2002
45
US
Hi,
I am doing the visibility/toggle feature.
this is what i want.

------------------------------------------
Details image(up/down)
------------------------------------------
Table - with several rows.



details is just a text, image is a real image

when someone clicks on the image up - it has to become image down (like sorting) and the visibiity of the table has to be set true.

i went to the table properties, set the visibility to be hidden and toggle item to be the text box.

but i dont want the +/- default signs of the collapse and expand. can i use my own images - and instead of default left hand side, can i hve the image on the right hand side ?

Thanks in advance.



 
I tried to mess with this yesterday, but I couldn't figure out a way to make it work for you. I don't think it's possible. The XML report definition code just specifies a "ToggleImage" element when you set the visibility, and from Books Online it seems that equates to a (+) and (-) symbol only. Sorry, I hope I am wrong. :(
 
Unfortunately, the ToggleItem is a True/False value. There's no way in the expression box for this to use any other images. I spent two weeks on this trying to figure it out. @=/

If you want to set the +/- dependent on whether the report opens as expanded or collapsed, you can do that. Just use an IIF(Parameter=Expanded, False, True) kind of thing.

Sorry.


Catadmin - MCDBA, MCSA
"If a person is Microsoft Certified, does that mean that Microsoft pays the bills for the funny white jackets that tie in the back???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top