Hi and greetings
We are running a survey where around 45 devices being used for data collection and sending data on daily basis on CSWeb server. I download data everyday and process something and prepare data file for analysis.
There are 5 IDs which needs to be deleted as these were test cases.
I need to each time download and make excel output and then delete from the output excel. Is there a way to delete those 5 cases directly from CSDB file and after that, i export to excel.
I read documents which says using delcase function but says works only external dictionary.
Is there some other quick way of doing it within CSDB file ?
Thanks and Regards
Manoj
Deleting multiple cases from CSDB file
Re: Deleting multiple cases from CSDB file
A few years ago Greg helped me with similar and a worse issue. It was the first and only batch application I ever wrote...
a) I created a list string with all the UUIDs of the cases I wanted to delete.
b) And wrote few logic lines in a batch application adding the main dictionary (and related csdb) as external dict.
Please take a look at the attached solutions. Hope this help.

a) I created a list string with all the UUIDs of the cases I wanted to delete.
b) And wrote few logic lines in a batch application adding the main dictionary (and related csdb) as external dict.
Please take a look at the attached solutions. Hope this help.
G.VOLNY, a CSProuser from Haiti, since 2004
Re: Deleting multiple cases from CSDB file
Thanks. Will look into it.
Regards
Regards
Re: Deleting multiple cases from CSDB file
Dictionary is missing in attached file.
Please send. Thanks
Please send. Thanks
htuser wrote: ↑January 29th, 2025, 12:29 pm A few years ago Greg helped me with similar and a worse issue. It was the first and only batch application I ever wrote...![]()
a) I created a list string with all the UUIDs of the cases I wanted to delete.
b) And wrote few logic lines in a batch application adding the main dictionary (and related csdb) as external dict.
Please take a look at the attached solutions.
DeleteCasesBatch.zip
Hope this help.
Re: Deleting multiple cases from CSDB file
You should replace case key or uuid, dictionary and item names with your own and test it.
G.VOLNY, a CSProuser from Haiti, since 2004