Bug 201363 The select value of Joint dataset's filter doesn't work[0706]
Description: The select value of Joint dataset's filter doesn't work[0706] Build number: 2.2.1.v20070828-0630 Steps to reproduce: 1, New a joint dataset 2, Specify the filter of dataset 3, Select value in the filter condition's Value1 Expected result: User can select the value from the value list Actual result: Exception occurs Error log: The expression's value can not be retrieved. Data set is not defined: Customer
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/data/ui/util/SelectValueFetcher.java
}
			}
			IBaseExpression bindingExprGroup = new ScriptExpression( ExpressionUtility.getReplacedColRefExpr( expression ) );
			GroupDefinition groupDefn = new GroupDefinition( BINDING_GROUP_NAME );
			groupDefn.setKeyExpression( BINDING_GROUP_EXPRESSION );
			query.addBinding( new Binding( BINDING_ROW_NAME, bindingExprGroup ) );
			query.addGroup( groupDefn );
			query.setUsesDetails( false );
			DataRequestSession session = DataRequestSession.newSession( new DataSessionContext( DataSessionContext.MODE_DIRECT_PRESENTATION,
					dataSetHandle == null ? null
							: dataSetHandle.getModuleHandle( ) ) );
			if ( dataSetHandle != null )
			{
				if ( dataSetHandle.getDataSource( ) != null )
					session.defineDataSource( session.getModelAdaptor( )
							.adaptDataSource( dataSetHandle.getDataSource( ) ) );
				BaseDataSetDesign dSet = session.getModelAdaptor( ).adaptDataSet( dataSetHandle );
				if ( !inclFilter )
				{
					if ( dSet.getFilters( )!= null )
						dSet.getFilters( ).clear( );
				}
				session.defineDataSet( dSet );
			}
			IPreparedQuery preparedQuery = session.prepare( query );
			IQueryResults results = preparedQuery.execute( null );
			if ( results != null )
			{
				IResultIterator iter = null;
				iter = results.getResultIterator( );