>LPARAMETERS nColIndex
>if lastkey() = 13 and nColIndex = 1 && Pressed enter at last column
> go top in (this.recordsource)
> this.refresh
> this.columns(3).setfocus()
>endifCetin
Thank you both for your information and ideas. It seems that columns() was the tool to fix the problem. Then all that was left was for VFP and me to sort out just which column was which - I'd reordered the columns after creating the grid - user feedback - blame them!
Sarah
Sarah King
pcpropertymanager.com