Recent

Author Topic: datasource property list all dataset of project  (Read 861 times)

rodrigoce

  • Newbie
  • Posts: 5
datasource property list all dataset of project
« on: April 07, 2022, 03:48:33 pm »
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

  • Hero Member
  • *****
  • Posts: 5529
  • My goal: build my own game engine using Lazarus
Re: datasource property list all dataset of project
« Reply #1 on: April 07, 2022, 04:02:07 pm »
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
« Last Edit: April 07, 2022, 04:07:28 pm by Handoko »

korba812

  • Sr. Member
  • ****
  • Posts: 483
Re: datasource property list all dataset of project
« Reply #2 on: April 07, 2022, 04:11:30 pm »
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.

 

TinyPortal © 2005-2018