Hi John your example works wonderfully!!!!, you are very good
There is only thing that I don`t understand, Why you use "Fecha_ult_revision" field, I think It would be enough using Numero, Hoja, Revision fields. I have tried to delete "Fecha_ult_revision" field, but with this manner it doesn`t...