Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Reports .Net and AS400 DB2 Connection Error

Status
Not open for further replies.

NatGreen

Programmer
Apr 19, 2002
90
US
I'm trying to use Crystal Reports & ASP .net to do a simple report using data on an AS400. The report has 3 parameters. I am using the IBM OBBC driver. In the Add Command feature of crystal, when I hard code the values it works, but when I setup parmeters, the query fails and I get the message below.

Failed to open a rowset.
Details: HY000:[IBM][iSeries Access ODBC Driver][DB2 UDB][SQL0302 - Conversion error on input host variable or parameter *N.

I haven't been able to find a resolution yet. Is there a better way to pull data from AS400.DB2 using input parmeters with Crystal?


Thanks in advance!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top