>Thanks for the tip.
>
>Can I also disable one column on a button click.
>Say for example the grid is grdtest and has two columns
>clmcode and clmname
>
>Now on a button click if I want to disable clmcode how can I do that
>the following code is not working
>thisform.grdtest.clmcode.readonly = .t.
>or
>thisform.grdtest.clmcode.txtcode.readonly = .t.
>
>Pl. help. Thanks once again.
>
>Regards
How about:
thisform.grdtest.clmcode.Enabled = .f.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.