dbgrid on insert move to firts column lazarus / 16-Databases ---------------------------------------------------------------------- eldonfsr · 2012-12-16 22:56 Hello, i have a question on dbgrid with sqlquery after make insetr new row or record how i can move the cursor to first column. thanks. ---------------------------------------------------------------------- Bart · 2012-12-17 11:22 Doesn't this work? Code: [Select]  DBGrid1.Col := TheDesiredColumn; Bart ---------------------------------------------------------------------- jesusr · 2012-12-17 14:43 DbGrid do not expose col and row properties, DbGrid1.SelectedIndex := 0; should normally do it. ---------------------------------------------------------------------- BigChimp · 2012-12-17 14:48 Quote from: jesusr on December 17, 2012, 03:43:21 pmDbGrid do not expose col and row properties, DbGrid1.SelectedIndex := 0; should normally do it. updated http://wiki.lazarus.freepascal.org/Grids_Reference_Page#TCustomDBGrid ---------------------------------------------------------------------- eldonfsr · 2013-01-17 02:53 Thanks for your help, was great.