>Hi Nadya
>
>It is very good idea and I tried to use the same codes in the click event of command button but it gives message 'Invalid path or file name' on the following line.
>
>
>create report (m.lcReportName) from alias() column
>
>
>The path is ok and the file name is TableMstr
>
>Thanks
>Zaheer
It just means, that you don't have subdirectory Reports under your project directory. Either add it, or create this report in the same directory, as your project, e.g. get rid of Reports\ part.
If it's not broken, fix it until it is.
My Blog