Parameter-Binding in Reports
Posted: Thu Oct 29, 2009 10:10 am
Hello,
I just started creating reports using Stimulsoft and I really like it. However I'm having difficulties using parameters in data sources when connection via odbc (I'm connecting to oracle databases).
When I insert a parameter for a database query there are the following error messages (both on testing the statement und previewing the report)
when connecting to oracle database:
ERROR [HY000] [Oracle][ODBC][Ora]ORA-00936: missing expression
when connecting to sql server database:
ERROR [42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]Die "@datum"-Skalarvariable muss deklariert werden.
ERROR [42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]Anweisung(en) konnte(n) nicht vorbereitet werden.
However when using parameters with an sql connection on a sql server database it works.
Can you help me with this problem? It seems to me, that processing the parameters with the odbc driver does not work correctly.
Many thanks and best regards,
Raik
I just started creating reports using Stimulsoft and I really like it. However I'm having difficulties using parameters in data sources when connection via odbc (I'm connecting to oracle databases).
When I insert a parameter for a database query there are the following error messages (both on testing the statement und previewing the report)
when connecting to oracle database:
ERROR [HY000] [Oracle][ODBC][Ora]ORA-00936: missing expression
when connecting to sql server database:
ERROR [42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]Die "@datum"-Skalarvariable muss deklariert werden.
ERROR [42000] [Microsoft][SQL Server Native Client 10.0][SQL Server]Anweisung(en) konnte(n) nicht vorbereitet werden.
However when using parameters with an sql connection on a sql server database it works.
Can you help me with this problem? It seems to me, that processing the parameters with the odbc driver does not work correctly.
Many thanks and best regards,
Raik