memdataset record pointer lazarus / 16-Databases ---------------------------------------------------------------------- Packs · 2023-07-29 04:02 I have memdataset and grid and navigation bar all are connected with each other . when I move record pointer from one record to another record grid and navigation bar both are working , but when I try to access mem.fieldbyname('column1').asstring it is showing always first record . why memdataset pointer is not moving . ---------------------------------------------------------------------- GAN · 2023-07-29 05:40 Because you need to select the record in the grid (click) or select it by the dataset. The easiest way: click it. ---------------------------------------------------------------------- Packs · 2023-07-29 06:24 Yes . I have done it .     DBGrid_cheque.DataSource.DataSet.GotoBookmark(       Pointer(DBGrid_cheque.SelectedRows.Items[0])); This type of issue I have never face in delphi . Technically it should work because dataset is link with grid . when grid record pointer move dataset pointer should move . ---------------------------------------------------------------------- wp · 2023-07-29 08:53 I am attaching a simple demo with Memdataset, DBGrid and DBNavigator which behaves as expected. ---------------------------------------------------------------------- Packs · 2023-07-30 06:51 Thanks for the code