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!

changing logon information

Status
Not open for further replies.

nithinn

Programmer
Apr 16, 2003
10
IN
while calling an existing report i would like to change the logon information for the report ie username and password.
in my jsp page. i tried by by setting the username and pasword in the connectioninfo ibkect and modifying connectioninfo for each database table. but unfortunately it isn't working.
is ther any other procedure to change it?
 
Not sure if this will help but it may get you pointed in the right direction.

VBScript:

Set report = InfoStore.Query("Select * from CI_InfoObjects Where SI_Name = 'ReportName' and SI_ProgID = 'CrystalEnterprise.Report'")
Set reportInterface = report.Item(1).PlugInterface("")
reportInterface.UserName = "Database Username"
reportInterface.Password = "Database Password"

InfoStore.Commit report
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top