>>>>Hello All,
>>>>I need to prevent users from clicking in the deleted column of a grid, any ideas?
>>>>Regards
>>>>Pete Kane
>>>
>>>Hi Pete,
>>>
>>>If it helps, you can turn off the delete mark column altogether:
>>>
>>>loGrid.DeleteMark = .f.
>>
>>Mark,
>>thanks, I knew about the deletemark ( no pun intended ) but didn't realise it prevented the deletion
>>Thanks again
>>
>>Pete Kane
>
>You can also put a NODEFAULT in the Deleted Method of the grid. OK, that's 2 ways, who's got the third method? :)
I know of no other method other than making the record source of the grid read-only. Making the grid read-only still allows deletions, but if you make the cursor or table read only, deletes are not excepted in the grid. A fairly drastic measure...
Mark McCasland
Midlothian, TX USA