| MGMapLayer.setSQLWhere |
|
void setSQLWhere(String whereClause)
Sets the SQL Where clause for the layer.
This method automatically sets the layer's rebuild flag to True. See setRebuild for details.
This method is functionally equivalent to the MGDatabaseSetup setWhereClause method.
Note that this method does not work during a busy state. For additional information about the busy state, refer to "Handling Busy State and Map Refresh" in the Autodesk MapGuide Developer's Guide. Also note that in some cases, a very long SQL Where clause will cause a data request error.
whereClause - The new SQL Where clause to be used by the layer to retrieve dynamic data.
-1 (busy)