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

Server has not yet been opened 3

Status
Not open for further replies.

LenaS

Technical User
Nov 28, 2000
98
0
0
US
Trying to use CR viewer in a VB project. When trying to show the viewer, message appears 'Server has not yet been opened'. I am on a stand-alone PC running VB6/VFP/CR8.
 
for this problem first u all would hv to login each table of ur databse with server. use the following syntax -

For Each dbTable In Report.Database.Tables
dbTable.SetLogOnInfo dbTable.LogOnServerName, dbTable.LogOnDatabaseName, <userid>, <password>
Next

paste it on form_load event of crviewer then load the viewer. hope this will be helpful to u.

let me know ur openion - j_verma75@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top