SelectByAttribute with number

Jun 27, 2011 at 12:34 PM

When setting  [PARCELA] = '*103/2'  in filter expression editor (DSP SelectByAttribute form) with text value the results are OK.

But when I try to run SelectByAttribute with number value [POVRSINA] = 110  problems occur.   I receive no records or only a few, there are some missing. 

Can someone help me set filter expresion with numbers.

 

Best regards, Vojko

Jun 30, 2011 at 8:57 PM

Found that with these codes filter expression with number argument works as should to:              

              string  str = "[POVRSINA] = 150";

              lyr.SelectByAttribute(str);
              lyr.ZoomToSelectedFeatures();

But sometimes only few of the expecting targets are selected. Why?

Regards!