Hello I do not exactly know how to test the position of the current record in a cursor, I know the Lastrecord command, but it's not usefull here I think I would like to do something like that If lastrecord then... Thanks.. Jacques