Page 1 of 1

Select deleted cases in Csentry

Posted: July 10th, 2017, 12:01 pm
by htuser
Dear all,
I would like to know how to select deleted cases in Csentry main application. I'm thinking an application where i use external dictionary and datafile. I must delete in the external dcf/file cases that are deleted in Csentry main application.

Thanks in advance!

Re: Select deleted cases in Csentry

Posted: July 11th, 2017, 11:53 am
by josh
I can think of two ways to approach this:

1) Prevent deletion of cases in the main program by setting Lock=delete in the pff file and then provide a delete option in a menu program that uses the delete function to delete cases from both the main and external data files

2) Implement a "clean up" function that iterates through all the cases in the external file (using forcase or using locate/loadcase) and then checks each one to see if it exists in the main data file (you can use the find function or the keylist function for this).