Antonio, I am also having trouble with MySQL. For somehow, at ADOFINDREC() oRecordSet:AbsolutePosition := IF( oRS:AbsolutePosition == adPosEOF, oRS:RecordCount() + 1, oRS:AbsolutePosition ) is set to -1, and it gives an error. oRecordSet:AbsolutePosition ...