SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 Adding a table detail to a Textbox
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

hbadministrator
Posting Yak Master

115 Posts

Posted - 09/26/2012 :  15:08:28  Show Profile  Reply with Quote
Hello I have a question. Are you able to take a table that you put in the design view add your dataset fields to that table and then hide the table and create a text box field and place one of the table detail fields into it so it then shows 1 field at a time in the text box per page? Example is tablix table has a amount field i called the field amountbox and the expression is =field!amount.value, I then create a text box and want to add that amountbox as my expression can this be done and if so how?

sunitabeck
Flowing Fount of Yak Knowledge

5155 Posts

Posted - 09/26/2012 :  15:59:17  Show Profile  Reply with Quote
I may not have followed your requirement completely so I may be off-target here. If you have a tablix that is fed by a dataset with multiple rows, and you have textbox which can hold only a single value, it seems to me that you would need some sort of aggregate function to decided which of the multiple values (or aggregation of the multiple values) that you want to show in the text box. So I can see how a =SUM(field!amount.value) or a =First(field!amount.value) can be used. But if that is not what you are looking for, can you give more details on which value out of the many you want to display in the text box?
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 09/27/2012 :  10:36:54  Show Profile  Reply with Quote
quote:
Originally posted by hbadministrator

Hello I have a question. Are you able to take a table that you put in the design view add your dataset fields to that table and then hide the table and create a text box field and place one of the table detail fields into it so it then shows 1 field at a time in the text box per page? Example is tablix table has a amount field i called the field amountbox and the expression is =field!amount.value, I then create a text box and want to add that amountbox as my expression can this be done and if so how?


Can I ask the need for this?

textbox can show only one value at a time so cant understand whay you want it to include a table. can you explain with some sample data what exactly you're trying to display?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000