datasource property list all dataset of project lazarus / 16-Databases ---------------------------------------------------------------------- rodrigoce · 2022-04-07 13:48 why when I click on datasource property of a dbaware control it lists all the datasets of the project? in delphi it is necessary to include the units in the uses clause. ---------------------------------------------------------------------- Handoko · 2022-04-07 14:02 Hello rodrigoce, Welcome to the forum. I do not use Delphi, not much I can say about it. But if you're a Delphi user, you may bed interested to read: https://wiki.lazarus.freepascal.org/Lazarus_For_Delphi_Users https://wiki.lazarus.freepascal.org/Code_Conversion_Guide And if you want to learn database programming in Lazarus, I recommend this video tutorials: https://wiki.lazarus.freepascal.org/Lazarus_videos#Database ---------------------------------------------------------------------- korba812 · 2022-04-07 14:11 If I remember correctly, it only displays datasets from forms and data modules currently open in the IDE, not all datasets in the project. In fact, you don't need to use a unit containing the dataset as it is not needed at compile time. As far as I remember, it is similar in Delphi and only designing in the IDE requires the use of a given unit containing a dataset.