Cross Table CrossSummary Condition
Posted: Fri Feb 29, 2008 3:03 am
Hi,
We have a question regarding the Condition Property of a CrossSummary in a CrossTable.
In your Cross-Tab-Example in the Demo.exe ("CrossTab with Highlight Condition"), you have added a Condition where the "Field is" ComboBox is set to "Expression" and you are checking if "value < 20".
The CrossSummaries in our CrossTab are filled with strings from a DataTable in a DataSet. We actually need to have the "Field is" ComboBox set to "Value" and check a certain "Column" for a certain value. The problem is, that this does not work.
I know that the CrossSummary fires the ProcessText Event and this obviously only checks each Cell in the CrossTable for its displayed value. But we need to check a value that is not displayed but belongs to a certain cell.
For example: The cells of a CrossTab are used to display supplier-names. You want the Font-Color of all Suppliers who offer less than 30 items to be red. The supplier names and the number of offered items are located in a DataTable (or DataSource) but you only display the supplier names in the CrossTable. The Problem is, that you don't need to check the supplier name but the amout of offered Items to find out, which supplier should be displayed in red.
Do you know a way or workaround to solve this problem? Its quite hard to explain, but I hope you understand, what I mean.
Thank you,
Alex
We have a question regarding the Condition Property of a CrossSummary in a CrossTable.
In your Cross-Tab-Example in the Demo.exe ("CrossTab with Highlight Condition"), you have added a Condition where the "Field is" ComboBox is set to "Expression" and you are checking if "value < 20".
The CrossSummaries in our CrossTab are filled with strings from a DataTable in a DataSet. We actually need to have the "Field is" ComboBox set to "Value" and check a certain "Column" for a certain value. The problem is, that this does not work.
I know that the CrossSummary fires the ProcessText Event and this obviously only checks each Cell in the CrossTable for its displayed value. But we need to check a value that is not displayed but belongs to a certain cell.
For example: The cells of a CrossTab are used to display supplier-names. You want the Font-Color of all Suppliers who offer less than 30 items to be red. The supplier names and the number of offered items are located in a DataTable (or DataSource) but you only display the supplier names in the CrossTable. The Problem is, that you don't need to check the supplier name but the amout of offered Items to find out, which supplier should be displayed in red.
Do you know a way or workaround to solve this problem? Its quite hard to explain, but I hope you understand, what I mean.
Thank you,
Alex