B
bholdman
We have an Access database that is used by 4 or 5 people. When someone
creates a query we typically use our initials in the name of the query
so that you can keep track of your queries. Sometimes someone else has
already made a query that with a few modifications will work for what
you are needing. The problem is sometimes the criteria is changed and
then the query isn't renamed and is saved, therefore the initial query
no longer works as originally designed.
I would like to create a macro and a button in the toolbar that when
clicked will save the sql statement of the currently opened query to a
text file in a specified directory. I have seen posts on how to export
the results of a query to a file, but not the sql statement.
Thanks,
Brian
creates a query we typically use our initials in the name of the query
so that you can keep track of your queries. Sometimes someone else has
already made a query that with a few modifications will work for what
you are needing. The problem is sometimes the criteria is changed and
then the query isn't renamed and is saved, therefore the initial query
no longer works as originally designed.
I would like to create a macro and a button in the toolbar that when
clicked will save the sql statement of the currently opened query to a
text file in a specified directory. I have seen posts on how to export
the results of a query to a file, but not the sql statement.
Thanks,
Brian