Hi,
I am using a main report with two subreports in it.
I am using the LogOnServer and LogOffServer methods of the OCX to make calling the same report in a loop possible.
If I run from the VB application in debug mode, everything works fine. Printing gets done.
But If I run the application, it says cannot open SQL server. It does not print even the first report.
Anybody who can help me?
Thanks,
P.S
Pls dont ask me to use RDC as entire application is over in OCX...
I am using a main report with two subreports in it.
I am using the LogOnServer and LogOffServer methods of the OCX to make calling the same report in a loop possible.
If I run from the VB application in debug mode, everything works fine. Printing gets done.
But If I run the application, it says cannot open SQL server. It does not print even the first report.
Anybody who can help me?
Thanks,
P.S
Pls dont ask me to use RDC as entire application is over in OCX...