Hi
I have a report, based on a sqlDataSource. Some textboxes get their values from this datasource.
In the same report, I have a few tables (with only one row and one column) which get the data from different sqlDataSources than the main one.
The question is... I want to add a textbox to the report, and the value it holds has to be calculated from the values on the tables... but I can´t find how to reference those textboxes inside those tables in order to fill the value in this new textbox... no matter what I do i get an error.
For example I want to reference the value held in table2 wich has a textbox named textbox14, if I reference it like- table2.textbox14.Value, or textbox14.Value or ReportItem.table2.textbox14.Value or ReportItem.table2.textbox14.Value I always get the same error "The expression contains object "table2/textbox14" that is not defined in the current context"
Can someone help me on this?
Thanks in advance.
I have a report, based on a sqlDataSource. Some textboxes get their values from this datasource.
In the same report, I have a few tables (with only one row and one column) which get the data from different sqlDataSources than the main one.
The question is... I want to add a textbox to the report, and the value it holds has to be calculated from the values on the tables... but I can´t find how to reference those textboxes inside those tables in order to fill the value in this new textbox... no matter what I do i get an error.
For example I want to reference the value held in table2 wich has a textbox named textbox14, if I reference it like- table2.textbox14.Value, or textbox14.Value or ReportItem.table2.textbox14.Value or ReportItem.table2.textbox14.Value I always get the same error "The expression contains object "table2/textbox14" that is not defined in the current context"
Can someone help me on this?
Thanks in advance.