I'm creating a database and the end user would like to be able to save queries which have been created dynamically with a date next to them. Now if i save the actual query that would surely take up far too much database space. So i'm wondering if i can just save the SQL String for the query in a table with a date.
Is it possible to access the SQL of a given query with VBA or will i have to store the SQL string somewhere before i use it to create the query and then retrieve it if the user wishes to save it?
Any ideas? Thanks!