Fabien, I have the same problem as Willy. I need to write the same type of report. Have tried all the combinations he reported. I have read your suggestion to him but, I do not know how to begin to write the code. An example would be of great help. Thanks, Marty