>
>LPARAMETERS ;
> nColIndex AS NUMBER
>
>LOCAL ;
> lPrevLockScreen
>
>WITH THIS.PARENT
> lPrevLockScreen = THISFORM.LOCKSCREEN
> THISFORM.LOCKSCREEN = .T.
> DODEFAULT()
>
> .cGeneric = v_Review_Mat.Generic
> .txtSearch.value = v_Review_Mat.cm_desc
>
> .REFRESH()
>
> THISFORM.LOCKSCREEN = lPrevLockScreen
>ENDWITH
>
>LPARAMETERS nColIndex
>* ^^^^ This is the bug
>
>
>Cleaning up code. Somehow inserted this into the AfterRowColChange EVENT of a grid during cut and paste ?????. Took me two hours to find. Received error as if parameter statement was bad. It was but for two hours I kept focusing on the first one. Geeshhh
>
>
I've done this before. I was lucky, both Parameter statements were one after the other. However, I looked at the first one several times before looking at the second line.
Tracy