[mapguide-users] how to delete all the data in a layer at a time ?

Jackie Ng jackie.ng at aecsystems.com.au
Tue Apr 24 05:42:34 EDT 2007


Hi there,

Have you tried "[Identitiy Field] LIKE '%'" for the filter string.

MgDeleteFeatures should be similar to a SQL DELETE statement

Regards,

- Jackie


张岭 wrote:
> 
> Hi, all.
> 
> I want to delete all the data in a layer.  In MG 1.1.0 opensource.
> 
> I just use the api : MgDeleteFeatures(
> 
> 
>  
> 
> CREFSTRING 
> 
> className, 
> 
> 
>  
> 
>  
> 
> CREFSTRING 
> 
> filterText
> 
> )
> 
>  
> 
> But about the  “filterText”, I don’t know how to do,
> 
>  
> 
> Or other solutions or  to solve it , thanks.
> 
>  
> 
>  
> 
> Flyzhl000
> 
> 2007-4-24
> 
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://www.nabble.com/how-to-delete-all-the-data-in-a-layer-at-a-time---tf3637339s16610.html#a10157551
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list