>Hi cetin,
>
>I worked fine, is it possible to display only some fields form the cursor.
>the cursor "TEMP" is from from sql. I am created the cursor using CREATE CURSOR.
>
>How can i and delete the records in the grid.
>
>Murali.
Murali,
Yes and multiple ways again :)
Easiest for you would be to have your fields in SQL in front and set columncount. ie:
create cursor temp (WillShow1 i, WillShow2 d, WillShow3 i, NoShow1 i, ....)
with this.myGrid
.Recordsource=''
.ColumnCount=-1
.RecordSource='temp'
.ColumnCount=3
endwith
Delete is by delete command or clicking on delete mark.
PS: Set deleted on and move off the deleted record before a refresh.
Cetin