>>>I want to be able to show the delete mark in a grid so the user can see which records are deleted and which ones are not. But I do not want the user to be able to delete records (basically have a read-only delete mark). Is there anyway I can do this?
>>
>>You can still use DeleteMark=.F., but add one more column with appropriate control (checkbox?) indicating Deleted status of record.
>
>
>Thanks for your quick reply. This will work but I think it will take alot of work because of one requirement. I only want to show the delete mark when SET DELETED is OFF, so I have to set it at run-time. I suppose I could create the column at run-time. Any other thoughts would be appreciated.
>
>GeneS
A lot of work? You create the column in design-time (if you don't like to do it programmatically), and just reset Column.Width from 0 (set deleted on) to something (set deleted off).
Edward Pikman
Independent Consultant