Design Oracle Forms

How to Export Table in Oracle into text file?
hi all,
I Have a intresting question with me, i have to design a form(using Oracle forms 6i) in which when the user enters the table name the form checks whether the table exists are not and then copies all the records to a text file.
on acheving it i have a problem, i created a dynamic cursor which fetches all the rows of the table but iam unable to print it in the text file.
Please tell me how to do this.
http://asktom.oracle.com/tkyte/Misc/csv.html
Homework, College Projects: http://www.iitiancollege.info