Hi,
It's been years since I made a database-application. I just started one but I have a problem with my query. I'm trying to add Params but when I close the project and reopen it, those Params are gone. What I did to test this :
Create a project (application)
Add a TSQLite3Connection
Add a TSQLTransaction
Add a TSQLQuery
Connect the SQLquery to the SQLIte3Connection
Connect the SQLTransaction to the SQLIte3Connection Create two params for the SQLQuery :
click on the elipsis (...) of Params
click on Add
change the name of the param : param1
click on Add
change the name of the param : param2
save the project
close the project
reopen the project
checking the SQLQuery : the params are gone.
Am I doing something wrong ? Or a bug ?
Maybe related : I can't use the params when running the application (without closing the project). In my application I added this in OnCreate of the form :
SQLQuery1.Active:=true;
showmessage(IntToStr(SQLQuery1.Params.Count));This shows '0', so Params are gone there also ?
Closing the application still shows the Params in the Lazarus GUI.
In Lazarus 'Help' shows : lazarus v4.2, fpc v3.2.2 (built for QT5 with fpcupdeluxe).
Lazarus running on Kubuntu 24.04
TIA
Koenraad
