public static List<Record> getNewRecords(String baseformat) throws SQLException
   {
      String cd_extra = "AND riploc IS NOT NULL";

      if (!baseformat.equalsIgnoreCase("cd"))
         cd_extra = "";

      String sql = "SELECT recordnumber from formats,records LEFT JOIN score_history ON recordnumber = record_id WHERE format = formatnumber "
            + cd_extra + " AND baseformat = ? AND score_value IS NULL";
      PreparedStatement ps = Connect.getConnection().getPreparedStatement(sql);
      ps.setString(1, baseformat);
      ResultSet rs = Connect.getConnection().executeQuery(ps);
      List<Record> records = new LinkedList<Record>();
      while (rs.next())
      {
         Record r = GetRecords.create().getRecord(rs.getInt(1));
         if (r.getChildren().size() == 0)
            records.add(r);
      }
      return records;
   }