B
bbs
Can someone help me with the below problem:
when I try to read from a ms-access table in VBA all works fine;
when I use exactly the same on a query (with the same content) it goes into
an error:
run-time error 3021
Either BOF or EOF is True, or the current record has been deleted.
Requested operation requires a current record.
VBA source =
Dim InSet As ADODB.Recordset
Set InSet = New ADODB.Recordset
InSet.Open "qryTest", CurrentProject.Connection
InSet.MoveFirst
when I try to read from a ms-access table in VBA all works fine;
when I use exactly the same on a query (with the same content) it goes into
an error:
run-time error 3021
Either BOF or EOF is True, or the current record has been deleted.
Requested operation requires a current record.
VBA source =
Dim InSet As ADODB.Recordset
Set InSet = New ADODB.Recordset
InSet.Open "qryTest", CurrentProject.Connection
InSet.MoveFirst