Quick question - DBs and Libraries lazarus / 16-Databases ---------------------------------------------------------------------- idealis · 2010-08-22 03:18 Hey there A quick question about databases: Is it possible to create libraries that handle them using, for example, a Tdbf component? Because when I create a library I only get the code window, and I can't really insert components into it... Should I create a form or something? I know this could be a rather easy question, but I don't have much experience with Lazarus or Libraries. Also, I want to use this component as an independent part of a bigger project. Cheers! ---------------------------------------------------------------------- felipemdc · 2010-08-22 05:26 Just create the component in code and use it in code, since it is non- visual anyway: var   MyDataset: TDBF; begin   // create the component   MyDataset := TDBF.Create(Application);   // now set the properties   MyDataset.Filename := 'somefilename';   ...