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

Changing ODBC Source at runtime

Status
Not open for further replies.

CTLreports

Technical User
Jun 23, 2003
10
0
0
US
Is it possible to change the data source at runtime through code?

Ryan Boyd
CTL Reporting
Bentonville, AR
ryan.boyd@ctlusa.net
p4 2Ghz, 512 MB RAM, Crystal Reports Professional 8.5
 
Yes it's possible. Here is a couple links to Seagate KB articles (depending on what application you call the report from):

Or just go to and enter keyword SetLogOnInfo.

There is also sample code at
 
Can you tell me how we can change the datsource ie Dsn at runtime using delphi 6 and Crystal report 8.5.

From these links i can find the solution for vb.

-Raja
 
Never worked with Delphi, sorry.
 
I run the crystal report through a program called LIMS and LIMS changes the data source to an earlier version of an INFORMIX driver... I don't know what ASP is or run anything with Visual Basic. Is there a way WITHIN crystal to change the ODBC Driver on the fly or at runtime??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top