>How can I create a report from code, like wizard does, in order
>to list data generated from different selects.
Go to
www.stonefield.com and read Doug Hennig's white paper "Report Objects" under technical papers. There you can download objects for on-the-fly report definition.