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

ODBC password

Status
Not open for further replies.

keenanbr

Programmer
Oct 3, 2001
469
IE
When I call a Crystal Report (Ver 11) from VB it prompts me for the ODBC password. How can I stop this.

Regards,

Brian
 
It's the username and password for the database you are accessing.

-lw
 
Try hard coding the username/password in the System DSN ODBC connection you are using.

Cheers
paulmarr
 
tHIS IS WHAT i'M DOING
crxApplication.LogOnServer "crdb_odbc.dll", "dns", "", "USER", "PASSWORD
 
Quick check on Business objects web site.




"Crystal XI LogOnServer does not pass password

8/14/2005 4:34:48 AM


EJThunder

The .LogOnServer method was depricated from the RDC in v9. I think it was retired in v10. In any event, tt hasn't worked for a long time.

You'll need to move to the .ConnectionProperties method to pass your logon information. There's a document on Crystal's site about using .ConnectionProperties - it's called cr_rdc9_connectionproperties.pdf. Even though it's for CR9, the code will be essentially the same for CR10/XI. You can search for it at


Andy

Andy Baldwin

"Testing is the most overlooked programming language on the books!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top