[mapguide-users] Exception in Filter Options

padmini godavarthi godavarthi.padmini at gmail.com
Wed Apr 1 07:20:30 EDT 2009




Hi,
iam using mapguide opensource 2.0 (with .net 2.0 +IIS 5.1)

While applying filter in queryoptions as


            Dim areaRuleTemplate As String = File.ReadAllText(GetThemeXmlTemplatePath())

            Dim queryoptions As MgFeatureQueryOptions = New MgFeatureQueryOptions()
            queryoptions.AddFeatureProperty("PARCEL_ID")

               queryoptions.SetFilter("PARCEL_ID in ('785_1000','708_584')")

            Dim increment1 As Double = IIf((5 > 1), 1.0 / (5 - 1), 1.0)
            Dim str As String = layer.GetFeatureClassName()

            Dim dataReader1 As MgFeatureReader = featureService.SelectFeatures(resId, layer.GetFeatureClassName(), queryoptions)

i got an error as follows.

An exception occurred in FDO component.
ORA-00907: missing right parenthesis

can u plz tell me the solution?

Regards,
Padmini.
-- 
View this message in context: http://n2.nabble.com/Exception-in-Filter-Options-tp2568455p2568455.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list