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!

Set Datasource Location Automation

Status
Not open for further replies.

ithelpme

Programmer
Jul 28, 2003
1
AU
Hi World,

I have a VB6 app with Crystal 9 and Oracle 8.1.7, we are using the embeded reports within VB for reporting.

My problem comes as we have multiple instances of databases on the one server. The user selects which database to loginto within the application.

I can't figure out how to set the Service name in the report at runtime.

Ideally I want to let the report handle all the connection details...

I have played around with "SetDatascource" and "LogOn Server" and various other things but nothing seems to work.

I can do it manually through Database>Set Datascource Location..." but that is no good to my users!

Please Help! Thanks :-(
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top