private DBIO.SearchField sTypeToEnum(String searchField) 
  {
    if (searchField.equalsIgnoreCase("Genre"))      // search by genre
    {
      return DBIO.SearchField.GENRE;
    } 
    else if (searchField.equalsIgnoreCase("Artist") // other search by cases
        || searchField.equalsIgnoreCase("Producer")
        || searchField.equalsIgnoreCase("Author")) 
    {
      return DBIO.SearchField.CREATOR;
    } 
    else if (searchField.equalsIgnoreCase("Item Name")) // search by item
    {
      return DBIO.SearchField.NAME;
    }
    return DBIO.SearchField.NAME;

  }