Duplicates Report in Menu

Discussions about CSEntry
Post Reply
Pinalli
Posts: 13
Joined: December 30th, 2017, 6:17 pm

Duplicates Report in Menu

Post by Pinalli »

Dear Cspro team,
I want to develop a menu that allows the supervisor to check for duplicates in all data synced by Bluetooth to his tablet. After using using fileconcat to concatenate the all data received, I need help on a code to generate duplicate report in the menu program.
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Duplicates Report in Menu

Post by josh »

In CSPro 7.4 you can use the set access statement (https://www.csprousers.org/help/CSPro/s ... ement.html) to access only the duplicate cases. For example if you do:
set access(MY_DICT, CaseStatus.Duplicate);
then if you do a forcase on the dictionary you will only load the duplicate cases. So you could do something to generate the report:
forcase MY_DICT do
...
enddo;
Pinalli
Posts: 13
Joined: December 30th, 2017, 6:17 pm

Re: Duplicates Report in Menu

Post by Pinalli »

Thanks Josh
Post Reply