public ResultSet browseFamilyHistory(String familyname) throws SQLException{
        
        try{
        databaseConnector=myConnector.getConnection();
        stmnt=(Statement) databaseConnector.createStatement();
        
        SQLQuery="SELECT * FROM familydoctor.patienthistory WHERE Family Name="+familyname;
        dataSet=stmnt.executeQuery(SQLQuery);
        }
        catch(SQLException e){
            System.out.println(e.getMessage());
        }
        finally {
            if (stmnt != null) {
                stmnt.close();
            }
            if (databaseConnector != null) {
                databaseConnector.close();
            }
        }
        
        return dataSet; //return the raws as a resultSet
    }