>>>>My VIEW updates my table when I EDIT the records
>>>>from the VIEW. When I try and DELETE a record from a
>>>>VIEW, the record in the table, does not get marked.
>>>>
>>>>help
>>>I think that I have had the same problem. Apparently there is something in the grid baseclass that turns the DELETEMARK off. What I did was to add
>>>
>>>Thisform.grid.deletemark=.t.
>>>Thisform.grid.refresh
>>>
>>>to the GOTFOCUS method of the grid
>>>and added
>>>
>>>dodefault()
>>>Thisform.grid.setfocus
>>>
>>>to the end of the method that is deleting your record (perhaps to the CLICK method)
>>
>>thanks again Larry.. I will try this code.. another question..
>>I have a string and I want to strip out the last character.
>>Example..
>>
>>mystring = 'abc'
>>Now I want mystring to = 'ab'..
>>I need to substr(mystring,1, now I need to add some function - 1)?
>
>1) Run the parsing routine to strip
>2) Use mystring=substr(mystring,1,len(mystring)-1)
I got it and it works... thanks.. also you can use STUFF()..