General information
Title:
Crystal Report Connection Error
Hi,
The followings are the code to call the crystal report, but it meets this error : Unable to connect : incorrect log on parameters. And I have run preview sample at Crystal Report itself and it is no problem. Could you guys give some hints?
ccStk_puSumRpt is a crystal report controller
strSaveDir = "z:\sikhop\stk_pusumrpt.rpt"
ccStk_puSumRpt.Destination = 0 '`To Window
ccStk_puSumRpt.ReportFileName = strSaveDir
strSelectCritera = ""
ccStk_puSumRpt.SelectionFormula = strSelectCritera
ccStk_puSumRpt.Action = 1
Thanks in advanced
Aston
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only