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)
 TextBox Issue in SSRS
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

elvismella
Starting Member

1 Posts

Posted - 01/07/2013 :  13:27:32  Show Profile  Reply with Quote
I am creating a report that pulls out a release form information for a specific user in a system. The way it works is you pull data from Dataset1, and based on what person the user selects, it should pull their information from Dataset 2(Name, Address, Phone). The issue is that I have to put the data not in a table or matrix but each in a text box because they will replace what a person would write in on a form.

The problem I am having is that I can only make the boxes fill as such First(Fields!Name.Value, "Dataset2") but the first record is not always the right record. How do I get it to select the record based on the user's parameter selection to fill the textbox?

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 01/07/2013 :  23:35:58  Show Profile  Reply with Quote
you cant merge data from multiple datasets like this in report. the options available are
1. bring all detail in same dataset by using join in query behind to bring personid,name,address,phone etc in same row. then you can arrange them as you want in report

2. just show only contects of dataset1 and for dataset2 call another report by means of subreport functionality in main report

In any case textbox can show only single value unless inside container like table/matrix

------------------------------------------------------------------------------------------------------
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.05 seconds. Powered By: Snitz Forums 2000