I'm working on an application which allows the user to select which fields in the database to search on through a series of checboxes. After producing the results of the query, I want to give the user the ability to give the query results a name and save them to the database. I'm looking for general approaches on how to do this. Would I save the SQL statment as a file? Anyone know of any articles on doing this? Thanks.