SQL Status: S1000 Error code: -33 Access is denied error. What is the problem?

Using LibreOffice Base 4.2 on Ubuntu 14.04 I got a SQL Status: S1000 Error code: -33 Access is denied error. What is the problem? (I was using a query with DATEPART)

It seems that in HSQL one should use MONTH() and YEAR() etc. instead of DATEPART.
However I don’t understand why I got an access denied error.