I have datacolumn(LeadDate) that is returned from SQL,
if the format is DateTime, i get the following error:
An error has occured while processing Report '':
Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.
When applying the column to the xaxis of a chart.
Example of data with type of datetime from SQL:
When the column is CONVERT(VARCHAR(8),LeadDate,1) as LeadDate , like below, there's no error.
But the Column is no longer DateFormat and I'm not able to format the LeadDate column on the chart.
I want to return the column as DateTime format so I can format the data on the xaxis using
using this technique: http://www.telerik.com/community/forums/reporting/telerik-reporting/how-to-format-x-axis-value-on-chart.aspx
if the format is DateTime, i get the following error:
An error has occured while processing Report '':
Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.
When applying the column to the xaxis of a chart.
Example of data with type of datetime from SQL:
LeadDate DayActuals |
2010-02-01 00:00:00 27 |
2010-02-02 00:00:00 48 |
2010-02-03 00:00:00 23 |
2010-02-04 00:00:00 56 |
2010-02-05 00:00:00 31 |
2010-02-06 00:00:00 19 |
2010-02-07 00:00:00 24 |
2010-02-08 00:00:00 27 |
2010-02-09 00:00:00 62 |
2010-02-10 00:00:00 6 |
When the column is CONVERT(VARCHAR(8),LeadDate,1) as LeadDate , like below, there's no error.
But the Column is no longer DateFormat and I'm not able to format the LeadDate column on the chart.
LeadDate DayActuals |
02/01/10 27 |
02/02/10 48 |
02/03/10 23 |
02/04/10 56 |
02/05/10 31 |
02/06/10 19 |
02/07/10 24 |
02/08/10 27 |
02/09/10 62 |
02/10/10 7 |
I want to return the column as DateTime format so I can format the data on the xaxis using
using this technique: http://www.telerik.com/community/forums/reporting/telerik-reporting/how-to-format-x-axis-value-on-chart.aspx