Running a query we send you (Database Explorer)
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
- Go to the Utilities menu, select Database Maintenance, then Database Explorer.
- Click Working Dir. Make sure the Table Location path ends in
Tables, for exampleC:\ProSchol\Tables. On a network, use the Tables folder on the mapped drive, for exampleP:\Tables. If it doesn't end in Tables, add it. Click OK. - Click New SQL and paste in the query from our email. (If we sent a
.sqlfile, save it in the Tables folder and click Open SQL instead.) - Click Execute.
- 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
- We write the queries. Email us at support@aegroup.com with what you need.
- For an email or mailing list, you don't need a query. See Exporting an email or mailing list from ProSchool.
- Don't use Database Explorer to change data. If you need a lot of records changed at once, email us.
- If Database Explorer shows error $210D, see Borland Database Engine errors and BDERegFix in ProSchool.
Still stuck? Email us at support@aegroup.com.
Include the exact text of any error message and what you were doing when it appeared.