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

SetLogOnInfo

Status
Not open for further replies.

aguptaLLT

Programmer
Apr 7, 2005
1
US
Hi
I'm using CR 9. I'm trying to connect to the database using

cr.Database.Tables.Item(1).SetLogOnInfo "ServerName", "DB_Name", "UserName", "Password"

I'm still getting dialog box of Data Source Selection (ODBC)

How to connect database on run time with this dialog box. Do I need to set up a DSN connection. This connection string works fine with data retrieval functions.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top