Data source data can not used in another data source as a variable
Posted: Mon Jun 22, 2009 9:46 am
In the older version, I was able to use data from a data source in another data source, but use it as a variable. After I update/upgrade to the 2009 version, it keep saying "Object reference not set to an instance of an object." when I try to preview the report.
For example:
I have dsDataSet1, and dsDataSet2. In the query text of dsDataSet2, I have:
SELECT * FROM Table1 WHERE ColumnName = {dsDataSet1.ColumnName}
Any help is appreciated and thank you.
For example:
I have dsDataSet1, and dsDataSet2. In the query text of dsDataSet2, I have:
SELECT * FROM Table1 WHERE ColumnName = {dsDataSet1.ColumnName}
Any help is appreciated and thank you.