I am trying to do a query on the shapefile database where I need to convert or cast a field to a numeric.
My problem is that some of the data is padded with blanks. Cast(fieldname as int) and Convert(fieldname, int)are not supported. Ltrim and Rtrim are not supported.
Is there any way using layer.QueryTools.ExecuteQuery(sql) to convert a string to a number as part of the where clause?
Thanks!
Cyndi Pruett