Data Connectivity
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Data Connectivity
Message Icon Topic: Logon Info Post Reply Post New Topic
Author Message
dotNet2010
Newbie
Newbie
Avatar

Joined: 09 Mar 2011
Online Status: Offline
Posts: 3
Quote dotNet2010 Replybullet Topic: Logon Info
    Posted: 13 Mar 2011 at 8:38pm
Has any been able to use  SetConnection and/or SetDatabaseLogon
succesfully?
 
The following code works fine when changing the username and password
 
myReport.DataSourceConnections.Item(i).SetLogon(dbUserName, dbPassword)
 
SetConnection should work the same as SetLogon but it does not

myReport.DataSourceConnections.Item(i).SetConnection(dbServer, dbDataBase, dbUserName, dbPassword)

Any suggestions?

 

IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.