I had the same problem several days ago but ended up doing this
........................
$sql="
INSERT INTO tbl_deletedbatches (batchID,yearID,transactionID,date,
chequeID,userID,file,status)
SELECT batchID, yearID,transactionID,date,
chequeID,userID,file,status
FROM tbl_batches WHERE tbl_batches.batchID='".$batchid."'";
$sql=$this->db->query($sql);
............................
I hope somebody on the list has the solution for active record because i ended up ignoring it for this particular case
--
Regards
Felix Mwai
Software Developer.
Mobile 0720453684.