Hi LacaK
Thank you for your support on this problem.
Your suggestion helps in solving a bigger part of the problem, in that I could not bind the database to the table grid.
I guess that changing the settings you suggested, now makes it possible to do the binding....it works!
I do not really understand why one would need to adjust those two settings, as long as it makes it possible to deal with the GUI and the database table.
The problem that I ran into initially is that I could not preview the SQL, using the SQLQuery object's SQL property. It is still not possible, because of the exception.
Maybe this is some kind of bug that needs fixing in a future release of Lazarus, I don't know.
Once again, thank you for your suggestion. I struggled with this for almost 7 hours.