Using HTML table to display any results is a great solution, except that sometime users prefer the raw data that they can play around with. I am trying to create a button, when pressed it will prompt a dialog box and ask the user where do they want to save the results into an CSV file ? The dialog box is just like any File Save As dialog box. I had seen it done before on an Internet Site, but unfortunately I can't view the code. <BR>It will be great if someone can solve this problem. I really appreciate it.