Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have two data source(db1, db2) and two dataset. Two dataset are store procedure from each data source.
Dataset1 must run first to create a table for dataset 2 to update and show (dataset 1 will show result too).
Cause the data of the table must base on some table in DB1, the store procedure will create a table to db2 by using link server.
I have search online and tried "single transaction" in data source, but it show error in data set 1 with no detail.
Is there anyway to do it? cause I want to generate an excel with two sheet for this result.
Posted

1 solution

Both data set would be executed on same time.

if your dataset2 is dependend upon dataset1, what you can do is that create a subereport and pass the relevent field from your dataset1 to subreport based on which your subreport would be populated.
 
Share this answer
 
Comments
Iris Shing 15-Dec-14 3:35am    
Thanks, I will try
Iris Shing 15-Dec-14 4:03am    
It works!!!! Thank so much!
Shweta N Mishra 15-Dec-14 4:18am    
np :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900