Page 1 of 1
Partially saved cases in completion report
Posted: November 17th, 2021, 2:08 am
by Qureshi
Hello everyone,
If I have selected " Option>Allow partial save " in an android application then how can I count partially saved cases in a completion report?
Re: Partially saved cases in completion report
Posted: November 17th, 2021, 9:31 am
by aaronw
Take a look at the ispartial function:
https://www.csprousers.org/help/CSPro/i ... ction.html
From a menu application you'll loop over an external dictionary (e.g., HOUSEHOLD_DICT) and increment either the partial or complete count based on the result of ispartial:
numeric partial_count = 0;
numeric complete_count = 0;
forcase HOUSEHOLD_DICT do
if ispartial(HOUSEHOLD_DICT) then
inc(partial_count);
else
inc(complete_count);
endif;
enddo;