Crystal Report viewer from VB app - server logon problem
Posted on 2002-04-05
I have a VB app that allows users to select Crystal Reports they want to view from a form. The Viewer is set up on another form that logs on to the server where Crystal gets the data.
cxReport.Database.LogOnServer "PDSODBC.DLL", "MyDsn", "MyDatabase", "User", "password"
CRViewer1.RepdortSource = cxReport
If the user has Crystal Reports installed on their pc it works OK, but if they don't have Crystal Reports installed they get:
Run time error 214192184(80047288)
Server not open
Does anyone have an idea what I might be missing in my package?