Article ID: 137457
Article Last Modified on 12/13/1999
FOR myctlcntr=1 TO this.parent.parent.columncount && cycle through columns
IF THIS.PARENT.PARENT.COLUMNS(myctlcntr).CONTROLS(2).NAME = THIS.NAME
* In the next line columns(myctlcntr+1) comes beforem controls(2)
* because the column header is the first control and data is the
* second control.
THIS.PARENT.PARENT.COLUMNS(myctlcntr+1).CONTROLS(2).SETFOCUS
EXIT
ENDIF
ENDFOR
Additional query words: VFoxWin
Keywords: KB137457