URGENT ADODB
|
| Posted: 06/21/2005, 3:17 AM |
|
Error Type:
ADODB.Recordset (0x800A0E78)
Operation is not allowed when the object is closed.
/misreports/classes/CapitalExpenditureReportCircleZone.asp, line 701
strQuery = "SELECT Code, Name FROM [Zone]"
Set fldZone.GroupedDataValues = executeAccessorSQL(Me, strQuery)
With fldZone.GroupedDataValues
If Not (.BOF And .EOF) Then ---------------line 701
Set .ActiveConnection = Nothing
.MoveFirst
End If
End With
|
|
|
 |
wiseguy
Posts: 6
|
| Posted: 06/21/2005, 3:22 AM |
|
make sure the connection is open
e.g
Connection conn = new Connection();
conn.Open();
|
 |
 |
wiseguy
Posts: 6
|
| Posted: 06/21/2005, 5:42 AM |
|
from its name it seems like executeAccessorSQL function is only good for Access or SQL Server connection.
|
 |
 |
|