Select deleted cases in Csentry

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
htuser
Posts: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Select deleted cases in Csentry

Post 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!
G.VOLNY, a CSProuser from Haiti, since 2004
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Select deleted cases in Csentry

Post 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).
Post Reply