Thread: logon failed
View Single Post
  #2 (permalink)  
Old February 28th, 2005, 06:19 PM
HenrryVargas HenrryVargas is offline
Registered User
 
Join Date: Feb 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

   Dim logOnInfo As New TableLogOnInfo
        logOnInfo = cr.Database.Tables.Item(0).LogOnInfo
        logOnInfo.ReportName = "rptfactsov.rpt"

        ' Establecer los par├ímetros de conexi├│n.

        logOnInfo.ConnectionInfo.ServerName = database
        logOnInfo.ConnectionInfo.Password = password
        logOnInfo.ConnectionInfo.UserID = user
        cr.Database.Tables.Item(0).ApplyLogOnInfo(logOnInf o)

Reply With Quote