[mapguide-users] MgOrderingOption?

Warren Medernach warren.medernach at imaginit.ca
Thu Feb 8 10:08:31 EST 2007


Hey Chris,

I believe this is controlled differently by each type of feature source,
and you can see the options by using the GetCapabilities under the
MapAgent index.  Look for the SupportsSelectOrdering

Some features support ordering (Oracle, SQL Server)... 
Others do not (SHP, SDF)...

Hope this helps

   Warren Medernach
   IMAGINiT Professional Services

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Chris
Gountanis
Sent: Thursday, February 08, 2007 8:54 AM
To: 'MapGuide Users Mail List'
Subject: [mapguide-users] MgOrderingOption?

How do you use MgOrderingOption to sort a featureset?


queryOptions.SetFilter(filter);

MgOrderingOption orderingOption = new MgOrderingOption();
orderingOption.Equals = "OWNERNAME"; ???


queryOptions.SetOrderingFilter(orderingOption,1);


Chris


_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list