That seems consistent with what I was thinking. Looking closer. Suppose my map contains a layer of gas stations. Furthermore, the layer is a query layer defined by "Select * from gas_stations". Additionally, the layer was defined with a "Definition Query" that effectively adds the where clause "where status = 'open'".
so, when my flex app opens this layer with no criteria, it gets all gas stations that are open. If i give criteria to the layer in my flex app, like "name = 'Exxon'", I would then get all Exxon stations that are open correct? What I am getting at here is that criteria passed to the layer are added to any where already existing on the layer already. Is that correct?
Thanks Again!