Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
zara
Starting Member
3 Posts |
Posted - 2000-12-01 : 15:00:33
|
| Operation is not allowed on an object referencing a closed or invalid connection.Code:Calling SQL statement as follows: Set Conn = Server.CreateObject("ADODB.Connection") Conn.Open application("pmisconn") Set logcommand = Server.CreateObject("ADODB.Command") logcommand.ActiveConnection = Conn logcommand.CommandType = adCmdStoredProc logcommand.CommandText = "LogView_SP" Set RS = Server.CreateObject("ADODB.Recordset") Rs.CursorType = adOpenStatic Rs.Open rcd Rs.PageSize = 10 Rs.CacheSize = Rs.PageSize intPageCount = Rs.PageCount Rs.MoveLast intRecordCount = Rs.RecordCountAll help is greatly appreciated and advice taken seriously. |
|
|
|
|
|