private boolean criteriaCheck1( Ptg[] curRow, DB db )
	{
		boolean bColOK = false;
		boolean bRowOK = true;
		int nrows = getNRows();
		int ncols = getNCols();
		int ndbrows = db.getNRows();

		String cl = getCol( 0 );
		int j = db.findCol( cl );
		if( j >= 0 )
		{
			bColOK = false;    // need one bColOK= true for it to pass
			for( int k = 0; (k < nrows) && !bColOK; k++ )
			{    //
				try
				{
					String v = curRow[j].getValue().toString();
					Ptg r = rows[k][0];
					String rv = r.getValue().toString();
					bColOK = matches( v, r );

					// fast succeed
					if( bColOK )
					{
						return true;
					}

				}
				catch( Exception ex )
				{
					// Logger.logInfo("DBCalc"); // TODO: check that this is OK
				}
			}
			if( !bColOK )
			{
				bRowOK = false;    // if no criteria passes, row doesn't pass
			}
		}
		return bRowOK;
	}