Is there a way to identify a query's type in VBA (i.e., Append Query, Select Query, Delete Query, Make Table Query)? I am creating a function with a string parameter (query). It will need to check if the query exists and then its action will depend on what type of query it is.