arg.add(((TextField) args.get(0)).getText());
arg.add(((TextField) args.get(1)).getText());
try {
SQLQuery query = new PersonnelSearchQuery(results, connect);
query.prepareQuery(arg);
query.doQuery();
query.close();
} catch (SQLException e) {
results.appendText("invalid query\n");
e.printStackTrace();
}