OK,
If you've already done the query you have the cursor open and available. You cna always COPY TO xxx TYPE XL8 to create an Excel file, you can use MAPI to send an email with the cursor as an attachment (look at that code I sent you for ideas), etc.....
>Hi Jozef y John,
>I was testing the sample send me by yours, so I consider that isn´t exactly my users wants, because they was explain me something like this.
>Once we´ve made the query, as result a small form should appear which allow to select the query exit (grid, report, excel file, send by mail, etc), something like to wizard.
>Do you believe know how to make it.?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05