>Hello
>
>object grid1
> procedure click
>
> replace trans1.flag with 1
>.or.
> replace trans1.flag with recno('trans1')
Mohammed,
Start reading 'Getting started with Visual Foxpro' section in help.
What do you mean by this code ??? Is it pseudocode or code exactly how you wrote ? Also pls check my first suggestion. I told you grid.click wouldn't fire when you click on a cell in grid. It'd fire when you click at a place where there are no cells (ie: After all visible columns or rows).
Normally code would be :
replace trans1.flag with recno('trans1')
thisform.myGrid.refresh
And finally what are you really trying to do ??? I read many messages from you and still I didn't understand a bit of what you're trying to do at all.
Cetin