TDBGrid single record lazarus / 16-Databases ---------------------------------------------------------------------- TRNelson · 2016-01-25 01:59 Is there an equivalent to TDBGrid that displays one data record at a time in form format? ---------------------------------------------------------------------- JanRoza · 2016-01-25 06:24 That's what DBEdit fields are for, you create a new form and place some DBEdits on it to show/change the data of the record. ---------------------------------------------------------------------- TRNelson · 2016-01-25 06:29 Quote from: JanRoza on January 25, 2016, 07:24:05 amThat's what DBEdit fields are for, you create a new form and place some DBEdits on it to show/change the data of the record. That will work fine if you know how many columns you are dealing with in your table and what the names are.  I am hoping for something more like the way TDBGrid works but only display one record in a form format. ---------------------------------------------------------------------- FTurtle · 2016-01-25 06:57 Quote from: JanRoza on January 25, 2016, 07:24:05 amThat's what DBEdit fields are for, you create a new form and place some DBEdits on it to show/change the data of the record. I think TRNelson need something like TDBVertGridEh from EhLib, but free. http://www.ehlib.com/sites/default/files/images/screenshots/dbvertgrid eh_0.png ---------------------------------------------------------------------- dogriz · 2016-01-25 07:45 You can use StringGrid for that, with some coding. ---------------------------------------------------------------------- tatamata · 2016-01-25 08:51 I'm looking for such component too...it is what in other environments would be called "Form View" or "Card View" or "Card". ---------------------------------------------------------------------- dogriz · 2016-01-25 12:19 Here is simple example using StringGrid (I used Firebird connection and employee database). ---------------------------------------------------------------------- TRNelson · 2016-01-25 16:08 Quote from: tatamata on January 25, 2016, 09:51:18 amI'm looking for such component too...it is what in other environments would be called "Form View" or "Card View" or "Card". Yes, that describes it.  I have seen it often. ---------------------------------------------------------------------- TRNelson · 2016-01-25 16:31 Quote from: dogriz on January 25, 2016, 01:19:46 pmHere is simple example using StringGrid (I used Firebird connection and employee database). This is a very good example.  I had not thought of that.  I can build upon this.  Thank you very much. I am very new to this 'new' approach to programming.  I still live and work in the old mainframe world.  I may (WILL) have more questions and hope they aren't trivial.