You may try something like we have here. Granted you have to know your files well. We have a .NET app that lets them enter a SQL statement and click a check box for any of the 4 I-series machines to run it on. And a run button. IT returns a datagrid displaying the data. You can then copy and paste into Excel. Because the text box with the SQL command is filled in by the user you could always make the SELECT a hardcoded parameter. It also returns errors if the sting is bad as well as others.