Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 Table Report Item Horizonal Centered

Author  Topic 

dewacorp.alliances

452 Posts

Posted - 2009-02-11 : 20:19:37
Hi there

In my report, I have a Table Report Item which let say have 5 column originally BUT in this report I can pass variable to determine which column that I need to show/hide. The idea is just hiding the column. This thing works well now. BUT now I have a reqirement to make this table centered all the time. How do I do this cause I don't see any "horizal center" kind of thing.

I am thinking this way:

I know that the width of the A4 page will be 11.69 x 8.27 inch (landscape layout). I also know that each width column.

All I have to do is: (Paper Witdh - (1 inch each side - Total Display Columns Width )) / 2 = x. Use this x in the Property of the report as Location - Left & Top.

Obviously, the calculation can be done prior or within the report. But then how do I pass this information in this table report at runtime?

Thanks

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-02-12 : 11:19:36
i dont think you can vary location property of table at run time.
Go to Top of Page
   

- Advertisement -