Int3g3r Posted November 6, 2020 Share Posted November 6, 2020 Hello, How can i select the first record on a UnimDBGrid in my code ? The record should be highlighted like i clicked on it. Regards Int3g3r Link to comment Share on other sites More sharing options...
x11 Posted November 6, 2020 Share Posted November 6, 2020 there is no data in grids select data in dataset DataSet1.First; 1 Link to comment Share on other sites More sharing options...
Sherzod Posted November 6, 2020 Share Posted November 6, 2020 1 hour ago, Int3g3r said: How can i select the first record on a UnimDBGrid in my code ? Hello, At what point? Link to comment Share on other sites More sharing options...
Int3g3r Posted November 6, 2020 Author Share Posted November 6, 2020 6 minutes ago, x11 said: there is no data in grids select data in dataset DataSet1.First; Thank you very much! Link to comment Share on other sites More sharing options...
55143681 Posted January 6, 2021 Share Posted January 6, 2021 On 11/6/2020 at 11:35 PM, Sherzod said: Hello, At what point? How to select the 23th record with code? Link to comment Share on other sites More sharing options...
Abaksoft Posted January 6, 2021 Share Posted January 6, 2021 4 minutes ago, 55143681 said: How to select the 23th record with code? Something like : DataSet.First; DataSet.MoveBy(23); 1 Link to comment Share on other sites More sharing options...
x11 Posted January 6, 2021 Share Posted January 6, 2021 29 minutes ago, 55143681 said: How to select the 23th record with code? 1. http://docwiki.embarcadero.com/RADStudio/Sydney/en/Navigating_Datasets 2. https://www.google.com/search?q=delphi+dataset+navigating 3. https://edn.embarcadero.com/article/29122 Navigate: First Last Next Prior MoveBy Find: Locate Lookup 1 Link to comment Share on other sites More sharing options...
Recommended Posts