>You should know that doing this repeatedly will results in a continually growing dbc file- Each time you create a new view and delete it, a record is added and deleted.
One workaround I have for this is to create a temporary .DBC on the fly for the user session, and use it to create any temporary views whose value doesn't persist beyond the application life. It's my responsibility to clean it up during the application close procedure; it does avoid grunging up the live .DBC that contains all my permament view definitions.