all groups > sql server reporting services > june 2005 >
You're in the

sql server reporting services

group:

dynamically changing DataElementName property of text box



dynamically changing DataElementName property of text box Rich
6/3/2005 1:00:25 PM
sql server reporting services: HELP!! I have a report that we dynamically change the order that the columns
appear based on user input. Further I want to control the DataElementName
of the textbox that will contain that field. I can not seem to find a way
to get access to this property using any type of code. I have tried passing
a ref to the textbox, but cant find the object that would be containing it.
So here is my question.

Can the DataElementName be dynamically set? Since I can change the order
of the columns I would have expected that I can also change the DataElementNames
that are on each of the textboxes. Any help would be GREATLY appreciated.
Thanks

Rich

Re: dynamically changing DataElementName property of text box Wayne Snyder
6/5/2005 8:00:48 AM
You would have to Change the RDL... I don't think you can change the
dataelementname from the report itself..

--
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)

I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org

[quoted text, click to view]

AddThis Social Bookmark Button