在純asp中使用如下代碼glue_machineMovePrevious報錯 ADODBRecordset 錯誤 800a0c93
在純ASP中使用glue_machine.MovePrevious代碼時,出現ADODB.Recordset錯誤 '800a0c93'的錯誤。
這個錯誤通常表示在呼叫MovePrevious方法之前,沒有先呼叫MoveNext方法將記錄指標移動到前一個記錄。MovePrevious方法只能在先前調用MoveNext方法之後使用。
要解決這個錯誤,可以在呼叫MovePrevious方法之前,先確保記錄指標已經移動到下一個記錄。例如:
If Not glue_machine.EOF Then
glue_machine.MoveNext
End If
If Not glue_machine.BOF Then
glue_machine.MovePrevious
End If
這樣就可以確保記錄指標在調用MovePrevious方法之前已經移動到下一個記錄。
原文地址: http://www.cveoy.top/t/topic/id0V 著作权归作者所有。请勿转载和采集!