Page 1 of 1

how to delete partial save cases from data file

Posted: August 6th, 2018, 3:32 am
by Bhupender11
I am using batch file to delete partial save cases from .csdb file but not worked

The code in batch file is

if demode()=2
then
skip case
endif;

and i have tried this one also.

if ID= ispartial()
then
skip case;
endif;

I don't want to delete it one by one, it takes lot of time to complete deletion
So, please help me how can I delete my partial save cases from my data file.

Re: how to delete partial save cases from data file

Posted: August 6th, 2018, 6:24 am
by josh
Your second try is close. ispartial() returns 1 if the case is partial and zero otherwise so try the following:
if ispartial() then
    
skip case;
endif;

Re: how to delete partial save cases from data file

Posted: August 6th, 2018, 6:46 am
by Bhupender11
Thankyou josh it works fine.