Support › ProSchool

Running a query we send you (Database Explorer)

ProSchool

When no report gives you what you need, we can sometimes write a query (SQL) that pulls the information out of your data. We'll email it to you. This is how to run it.

Running the query

  1. Go to the Utilities menu, select Database Maintenance, then Database Explorer.
  2. Click Working Dir. Make sure the Table Location path ends in Tables, for example C:\ProSchol\Tables. On a network, use the Tables folder on the mapped drive, for example P:\Tables. If it doesn't end in Tables, add it. Click OK.
  3. Click New SQL and paste in the query from our email. (If we sent a .sql file, save it in the Tables folder and click Open SQL instead.)
  4. Click Execute.
  5. Click the Export icon to save the results as a CSV file. It opens in Excel.

If it doesn't run

  • "Table does not exist": the Working Dir path doesn't end in Tables. Fix it as in step 2.
  • "Invalid field name": email us the exact query you pasted, so we can check it.
  • You changed the query (dates, for example) and now it fails: run our original query again without any changes. If that works, something other than the dates got changed.

Exporting a whole table

You can also open one table on its own, such as the clients or students table, and export it to a CSV file with the Export icon.

Good to know

Still stuck? Email us at support@aegroup.com. Include the exact text of any error message and what you were doing when it appeared.