James,
My concern was my clients. I figured they wouldn't normally use this capability.
I resolved it by doing the following:
1) I left SET DELETED ON when starting the program
2) I put in a Menu item that calls a Function:
- Code: Select all Expand view RUN
FUNCTION SelDelStatus
IF MsgYesNo( "Do you wish to display deleted records ?" )
SET DELETED OFF
ELSE
SET DELETED ON
ENDIF
RETURN NIL
The ACTION statement refreshes the browse after running the function.
3) When exiting the editor, the program executes SET DELETED ON
With these steps I eliminated my concern. A client who uses the editor to simply make a change to raw data will not create any problems. Hopefully this will work.
There are already many indexes. I prefered not to go that route. The main reason for this capability is sometimes clients accidentally delete a record. When they call for help, I had to use a different program to recall the record. Now I can do it here, very easily.