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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FileDSN for Report calling

Status
Not open for further replies.

SangeethaEdward

Programmer
Dec 17, 2003
2
IN
We are using Crystal 9.0 as a reportinf tool for project in VB with ORACLE. I want to use FILEDSN, for calling the report from VB.

This is the code I am using to call the report.

CRXReport.Database.Tables(1)
.ConnectionProperties.Add "FILEDSN",
App.Path & "\MYDSN.DSN"

This works fine, when the database and server is same as the one I have used while making the report. If I change the database to other ( this is a identical database in the dev env) it giving these Errors:

"Error in Building the Query"

Logon Failed.
Details: (01000) The driver does not support the verson of ODBC behaviour that the application requested. (See SQLSetEnvAttr).

How to solve this problem.

Any help please! Urgent!


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top