Working Firebird Master-Detail Example Needed lazarus / 16-Databases ---------------------------------------------------------------------- SteveF · 2010-11-27 22:00 I have been banging my head against the wall for some time now, unsuccessfully working on getting what should be a simple master- detail relationship to work.  It shouldn’t be this difficult, and it probably isn’t, once the correct properties and methods are set. So, with this in mind, does anyone have a working example of a Lazarus/Firebird master-detail application that they are willing to share?  It would be much appreciated! Steve ---------------------------------------------------------------------- sorinr · 2011-02-27 16:27 What components are you trying to use ? If you are using Zeos just set the MasterSource, MasterFields and LinkedFields according to your needs on the details ZTable. Please check that you have the ForeignKey setted on the client table in the database for the corresponding field in the master table. ---------------------------------------------------------------------- SteveF · 2011-02-28 16:35 Thanks for the reply -- when I posted the message, I was using native lazarus components; I've since started to use the ZEOSlib components, which work successfully exactly as you said. Steve