I know this is a stupid question but I can't figure out how to do it. I have an application that allows the user to look at a text box with results from a query in it.

I want to give the user the ability to create a text document with the info in it. I have searched the forum and can't find an answer.

I want to know how to create the document, add the info AND THEN SHOW IT SO THE USER WILL THEN SEE IT IMMEDIATELY.

Please help.