or
SELECT
fullname FROM employee
SELECT
activity.startdate,employee.fullname FROM activity INNER JOIN employee ON activity.employeesignature=employee.signature
value=AllValues(fields.fullname)
The result of this is that the parameter is shown with the unique values and all values is selected. But, if i deselect all, only some items is deselected. And if I click on the others they could not be deselected at all.
The problem occurs to be that the second example could result in several rows with the same value in employee.fullname. OPnly the rows that have only one row with the same value is handled correctly.
So, how can I solve this problem?
R
Torbjörn
foreach
(var item
in
items)
{
RptAnalyseOmzetTotaal rptAnalyseOmzetTotaal =
new
RptAnalyseOmzetTotaal();
rptAnalyseOmzetTotaal.ReportParameters[
"customer"
].Value = item.TrimStart(
'0'
);
rptAnalyseOmzetTotaal.ReportParameters[
"year"
].Value = year;
rptAnalyseOmzetTotaal.ReportParameters[
"periodFrom"
].Value = periodFrom;
rptAnalyseOmzetTotaal.ReportParameters[
"periodTo"
].Value = periodTo;
reportBook.Reports.Add(rptAnalyseOmzetTotaal);
}
Private Sub Chart1_ItemDataBound(ByVal sender As Object, ByVal e As System.EventArgs) Handles Chart1.ItemDataBound
Chart1.Series(1).Appearance.TextAppearance.TextProperties.Color = Color.Red
Dim myseries As ChartSeries
Dim myitem As ChartSeriesItem
For Each myseries In Chart1.Series
myseries.Appearance.TextAppearance.TextProperties.Color = Color.Red
For Each myitem In myseries.Items
myitem.Label.TextBlock.Appearance.TextProperties.Color = Color.Red
myitem.Label.TextBlock.Text = "xxxx"
Next
Next
End Sub