Hard to say something definitive without seeing your code, but did you also put a TFrDBDataset (lazReport component) on your form and linked this to your query?
Yes, I did, and checked twice to be sure. Always check twice.
BTW,
I've found what happens:First, I forgot to say that I'm using Xubuntu.
In run-time, it looks for the database file at the executable directory, but in design-time it looks for it at the $
HOME directory. So, if I have a copy of the database at $
HOME it works.
Note that if I put the full path (like "
/home/guillermo/projects/program/database.sqlite") in design-time it still looks for database at $
HOME.
I think it is not the desired behaviour, so it is a bug, isn't it?