private void PopulatePatientTable()
	{
		ResetPatientTable();
		ResetVRTable();
			
		ResultSet rs = dbQuery.Doctor_GetPatientList(this.user.DoctorID, txt_FirstName.getText(),
				txt_LastName.getText(), 
				txt_PatientID.getText(),
				"2013-01-01 00:00:00",
				"2015-01-01 00:00:00");
		//			"YYYY-MM-dd HH:mm:SS");

		
		
		//System.out.println("Querying doctor appointment schedule for doctorID: " + selectedDoctor.getID() + "!");
		
		Object[] row = new Object[PATIENT_TABLE_COLUMN_COUNT];
		int count = 0;
		try {
			while(rs.next())
			{  
				SimpleDateFormat dateFormat = new SimpleDateFormat("MMM dd YYYY");
				//SimpleDateFormat timeFormat = new SimpleDateFormat("h:mm a");
				
				//"Have Access", "PatientID", "Name", "Last Visit Date" 
				
			    row[0] = rs.getObject("HasAccess");	
			    row[1] = rs.getObject("PatientID"); 	
			    row[2] = rs.getObject("FirstName") + " " + rs.getObject("LastName");		
			    row[3] = rs.getObject("LastVisitDate"); //dateFormat.format(
			    System.out.println("ACCESS: " + rs.getString("HasAccess"));  
				if(rs.getString("HasAccess").equals("yes") 
						|| comboBox_AllPatients.getSelectedItem() == "All")
				{
					((DefaultTableModel) table_Patients.getModel()).insertRow(count++, row);
				}
			}
			
			//System.out.println("Successfully loaded doctor appointment table!");
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			System.out.println("ERROR: loading doctor appointment table!");
			e.printStackTrace();
		}
	}