Jump to content

read mdb file backwards


crazyswede

Recommended Posts

Your system is very confusing. (Maybe because I‘m Swedish.) I posted a question, but I can’t figure out how or where to go to read your answer. Here it is again . . .--------------------------------------------- I’m trying to read mdb file backwards. please help me ------------------------------------------------------------------------ while(! (rs.EOF)) //READ forward <-- this part works fine { //567 Response.Write( rs("id").Value +"<br>" ) if(rs("id").Value==2515 ) break; rs.MoveNext( ) } //567 . Response.Write( "FOUND EOF<br>" ) . while(! (rs.BOF )) //read backwards { //567 Response.Write( rs("id").Value +"<br>" ) rs.MovePrevious( ) <-------------------- this part returns - ADODB.Recordseterror '800a0c93' Operation is not allowed in this context. } //567 //What context must I be in?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...