[mapguide-users] Filter applied to data...
Willem Schwarte
willem at giskit.nl
Tue Oct 10 07:50:58 EDT 2006
Ok, but now I need to change this in my code when e.g. someone presses
a button or something...
Willem
-----Oorspronkelijk bericht-----
Van: Paul Spencer [mailto:pspencer at dmsolutions.ca]
Verzonden: dinsdag 10 oktober 2006 13:46
Aan: users at mapguide.osgeo.org
Onderwerp: Re: [mapguide-users] Filter applied to data...
Urgentie: Hoog
You can set a layer-wide filter using Studio (or Web Studio) and
editing the layer settings. The filter is below the layer property
mappings next to the URL and Tooltip settings. You set the filter by
building an expression. And yes, it works just like an SQL where
clause.
Cheers
Paul
On 10-Oct-06, at 6:47 AM, Willem Schwarte wrote:
> Hi,
>
>
>
>
>
> I am assuming that "Filter applied to data" is the same
> functionality as the SQL WHERE CLAUSE in mapguide 6.5.
>
>
>
> In mapguide6.5 I could very easily set this where-clause to only
> show certain elements of a map. (through layer->database Setup-
> >setWhereClause('area > 100') )
>
>
>
> I need to do the same now, but don't really know where to start
> looking. In the documentation I can find setFilter, but this is all
> about selecting data in a datareader.
>
>
>
>
>
> Could somebody help me out here please?
>
>
>
> Thx
>
>
>
>
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Chief Technology Officer |
|DM Solutions Group Inc http://www.dmsolutions.ca/ |
+-----------------------------------------------------------------+
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org
More information about the Mapguide_users
mailing list