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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot Open SQL Server Problem

Status
Not open for further replies.

rchandr3

Programmer
Jun 16, 2003
244
US
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...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top