Class Tmp;
try{Tmp = Class.forName ("jdbc.odbc.JdbcOdbcDriver");}
	catch(ClassNotFoundException ex)
	{
		txtDesc.setText("ClassNotFoundException: "+ex.getMessage());
		return false;
	}
		
Driver d; 
try{d = (Driver) Tmp.newInstance();}
	catch(Exception ex)
{
	txtDesc.setText("Exception: "+ex.getMessage());
	return false;
	}

if(d.jdbcCompliant() == false)
	{
	txtDesc.setText("Driver not JDBC compliant!");
	return false;
	}
	
try{
if(d.acceptsURL(DBurl)== false)
		{
		txtDesc.setText("Won't accept!");
		return false;
		}