Hi All,
Need your help in solving this strange problem of crystal report's date conversion.
Environment: C# .NET 2003, Crystal XI and SQL Server 2005.
Report is generated programmatically using a blog stored in the database.
We set RecordSelectionFormula that is a member of CRAXDRT.Report class. The string we set is - IN [CDate(15/01/2008) To CDate(28/01/2008)] and later call it's Export function to generate the report but this function fails and throws an error - Month should be between 1 and 12. Everything in our system is set to dd/MM/yyyy format even the SQL Server.
Am I missing something here i.e. we need to set the date time format while generating the report programmatically in .NET? if yes, what's the code to do that?? or there is a bug Im not aware of in Crystal XI?
Really need some1 to help me out here, it's pretty urgent!!!
Thanks in advance,
Santy