Is there a way to do a query, and put the results into a pre automated message, or dump it into an excel spreed sheet?
I wanted to have 2 options, 1 that says "email query" or "download" query, so they can select either or, and it will do wha they selected.

something like:

to: [email protected]
subject: "overdue pos"

body:

Your query?