>>>>>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).
>
>Is there a way to do this in my base grid, so that it would be generic enough to work in every grid of my application?
>GeneS
Base grid is not yours, it's MS property. However, you can do it for your grid class, if you have one.
Edward Pikman
Independent Consultant