if ( this.USE_DATE_IN_SUBQUERY ) abc += subRi.getValue( "sub4" );
	private void genBasicIV( ) throws BirtException	{				QueryDefinition qd = newGenIVReportQuery( );		if (!this.usesDetails)		{			qd.setUsesDetails( false );		}		// generation		IQueryResults qr = myGenDataEngine.prepare( qd ).execute( scope );				// important step		GEN_queryResultID = qr.getID( );		IResultIterator ri = qr.getResultIterator( );		while ( ri.next( ) )		{			String abc = "";			for ( int i = 0; i < rowExprName.length; i++ )				abc += ri.getValue( this.rowExprName[i] ) + "  ";			for ( int i = 0; i < totalExprName.length; i++ )				abc += ri.getValue( this.totalExprName[i] ) + "  ";						if ( this.GEN_print == true )				this.testPrintln( abc );						if ( this.GEN_add_subquery == true )			{				IResultIterator subRi = ri.getSecondaryIterator( subQueryName1,						scope );				while ( subRi.next( ) )				{					abc = "      ";					for ( int i = 0; i < subRowExprName1.length; i++ )					{						abc += subRi.getValue( subRowExprName1[i] ) + "  ";					}				}				subRi.close( );			}		}				if ( this.GEN_print == true )			this.testPrintln( "" );				ri.close( );		qr.close( );		myGenDataEngine.shutdown( );	}