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?
Partially saved cases in completion report
Re: Partially saved cases in completion report
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:
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;
numeric complete_count = 0;
forcase HOUSEHOLD_DICT do
if ispartial(HOUSEHOLD_DICT) then
inc(partial_count);
else
inc(complete_count);
endif;
enddo;