public ResultSet getCheckIns(String book_id,String card_no,String borrower_name)
	{
		ResultSet rs = null;
		String resultQuery="SELECT loan_id,book_id,branch_id,card_no,borrower_name FROM "
				+ "checkout_details WHERE date_in IS NULL AND ";
		try{
			Statement stmt = conn.createStatement();
			if(book_id.isEmpty() && card_no.isEmpty() && borrower_name.isEmpty()  ) return null;
			
			if(!book_id.isEmpty())
			{
				resultQuery+= "book_id like '%"+book_id+"%' AND ";
			}
			if(!card_no.isEmpty())
			{
				resultQuery+= "card_no like '%"+card_no+"%' AND ";
			}
			if(!borrower_name.isEmpty())
			{
				resultQuery+= "borrower_name like '%"+borrower_name+"%' AND ";
			}
			resultQuery += "true ;";
			rs = stmt.executeQuery(resultQuery);

		}
		catch(SQLException ex) {
			System.out.println("Error in connection: " + ex.getMessage());
		}
		return rs;
	}