Recent

Author Topic: how to input data in combobox or listbox from database?  (Read 1841 times)

rdny

  • New Member
  • *
  • Posts: 38
how to input data in combobox or listbox from database?
« on: December 26, 2018, 12:52:22 am »
How to input data in combobox or listbox from database? I'm not using Firebird btw. :D

dsiders

  • Hero Member
  • *****
  • Posts: 1452
Re: how to input data in combobox or listbox from database?
« Reply #1 on: December 26, 2018, 01:11:55 am »
How to input data in combobox or listbox from database? I'm not using Firebird btw. :D

There are database-aware versions of both: TDBComboBox and TDBListBox. They are database agnostic, and can be used with a TDataset assigned the DataSource for the components. See the Data Controls tab in the IDE.
Preview the next Lazarus documentation release at: https://dsiders.gitlab.io/lazdocsnext

rdny

  • New Member
  • *
  • Posts: 38
Re: how to input data in combobox or listbox from database?
« Reply #2 on: December 26, 2018, 01:16:05 am »
How to input data in combobox or listbox from database? I'm not using Firebird btw. :D

There are database-aware versions of both: TDBComboBox and TDBListBox. They are database agnostic, and can be used with a TDataset assigned the DataSource for the components. See the Data Controls tab in the IDE.


Oww I saw it haha. Thanks for your time!

 

TinyPortal © 2005-2018