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 |
elvismella
Starting Member
1 Post |
Posted - 2013-01-07 : 13:27:32
|
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
52326 Posts |
Posted - 2013-01-07 : 23:35:58
|
you cant merge data from multiple datasets like this in report. the options available are1. 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 report2. just show only contects of dataset1 and for dataset2 call another report by means of subreport functionality in main reportIn any case textbox can show only single value unless inside container like table/matrix------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
|
|
|