Ver originaldo while not rst.EOF x=Round(Abs(rst.Fields(7)/fields(5)),2) if x>z Then z=x rst.moveNextloop