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.
Author |
Topic |
hbadministrator
Posting Yak Master
120 Posts |
Posted - 2012-09-26 : 15:08:28
|
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
Master Smack Fu Yak Hacker
5155 Posts |
Posted - 2012-09-26 : 15:59:17
|
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? |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2012-09-27 : 10:36:54
|
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 MVPhttp://visakhm.blogspot.com/ |
|
|
|
|
|