Bug 118592 Report error
please see attached design file.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ResultIterator.java
"next",
				"Moves down to the next element" );
		return hasNext;
	}
	static Object evaluateCompiledExpression( CompiledExpression expr,
			org.eclipse.birt.data.engine.odi.IResultIterator odiResult,
			Context cx, Scriptable scope ) throws DataException
	{
		try
		{
			
			
			if ( expr instanceof ColumnReferenceExpression )
			{
				
				ColumnReferenceExpression colref = (ColumnReferenceExpression) expr;
				if ( colref.isIndexed( ) )
				{
					int idx = colref.getColumnindex( );
					
					if ( idx == 0 )
						return new Integer( odiResult.getCurrentResultIndex( ) );
					else if ( odiResult.getCurrentResult( ) != null )
						return odiResult.getCurrentResult( )
								.getFieldValue( idx );
					else
						return null;
				}
				else
				{