Forum > Databases

datasource property list all dataset of project

(1/1)

rodrigoce:
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:
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:
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.

Navigation

[0] Message Index

Go to full version