FrederikJan
Programmer
Hello,
Thanks for reading my help question.
I am having the following problem: i want to pass a date parameter to my crystal report (XI, c#, asp.net 1.1.x VS 2003, mysql 5.x). In my report i have the sql command, here i want to pass 2 date parameters, the parameters are of the type Date.
when i run the report in XI and i give the parameter values (20-07-2006 eg) the report shows fine. when i pass the parameters through code, the report gives an logonfailed error. i have already noticed that that is a sign that the rpeort has no records.
the parameter in de report XI says it wants the format yyyy-mm-dd, my mysql server also wants the format as yyy-mm-dd. when i pass the values through the code is give them a string of the type "yyyy-MM-dd".
somewhere along the line XI does something with the parameters and i dont know what. i want to know how to pass the parameters correctly so i can finish my software.
please can someone shed some light over this? thanks in advance.
greets, Frederik Jan (Holland)
Thanks for reading my help question.
I am having the following problem: i want to pass a date parameter to my crystal report (XI, c#, asp.net 1.1.x VS 2003, mysql 5.x). In my report i have the sql command, here i want to pass 2 date parameters, the parameters are of the type Date.
when i run the report in XI and i give the parameter values (20-07-2006 eg) the report shows fine. when i pass the parameters through code, the report gives an logonfailed error. i have already noticed that that is a sign that the rpeort has no records.
the parameter in de report XI says it wants the format yyyy-mm-dd, my mysql server also wants the format as yyy-mm-dd. when i pass the values through the code is give them a string of the type "yyyy-MM-dd".
somewhere along the line XI does something with the parameters and i dont know what. i want to know how to pass the parameters correctly so i can finish my software.
please can someone shed some light over this? thanks in advance.
greets, Frederik Jan (Holland)