AnsweredAssumed Answered

QueryTask not showing results when it should

Question asked by rduke40 on Apr 24, 2012
Latest reply on Apr 24, 2012 by rduke40
In regards to the following thread:!?highlight=querytask+results 

I was unable to get anything back from the query I am getting a NULL error on the fault handler.

         var queryTask:QueryTask = new QueryTask(queryLayer);   queryTask.disableClientCaching = true;   var query:Query = new Query();   query.outFields = queryFields.split(",");   query.geometry = map.extent;          query.returnGeometry = true;   query.where = queryExpr;   query.outSpatialReference = map.spatialReference;   queryTask.execute(query, new AsyncResponder(onResult, onFault));