I am new to Oracle forms and would like to be able to execute a query via an Oracle Forms command button that will generate a text file. My query works great in SQL Plus using the spool command followed by my select statement. Is there any way to use the spool and select statement from within Oracle Forms? Any suggestion will be appreciated. Thank you!