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

Kneo kalpesh at pie-solution.com
Mon Apr 30 06:46:22 EDT 2007


Or alternatively simply use "1 = 1" :)



Jackie Ng wrote:
> 
> 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#a10251493
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list