Forum > Databases
[SOLVED] TDB Controls Help
(1/1)
vdubeau:
I'm trying to put a TDBEdit control on a form. When I click in the field box in the inspctor Lazarus tells me that it can't create a lit of fields,
i have a DBConnection, Datasoure and SQL controls on the form and set up. Obviously there is something that I am missing.
Help would be much appreciated.
Thanks
dsiders:
--- Quote from: vdubeau on July 09, 2024, 02:31:16 am ---I'm trying to put a TDBEdit control on a form. When I click in the field box in the inspctor Lazarus tells me that it can't create a lit of fields,
i have a DBConnection, Datasoure and SQL controls on the form and set up. Obviously there is something that I am missing.
Help would be much appreciated.
Thanks
--- End quote ---
Sounds like the database conmnection or the datset is not active. You can't get the field list for a closed dataset.
vdubeau:
I finally figured out that you need an actual quewry in your SQLQuery. Then the field list shows up.
Navigation
[0] Message Index