LibreOffice Base 6.3 using Firebird.
I have a table “Gezinnen” with 3 columns:
gezinsid int autonum primary key
title varchar
huwelijksdatum date
I can do a query succesfully:
select gezinsid, titel, extract(month from huwelijksdatum) from Gezinnen (with the appropriate "'s)
But when I do
select gezinsid, titel, extract(month from huwelijksdatum) from Gezinnen where extract(month from huwelijksdatum)=:mndnr
The dialogue box for the input appears, but no matter how I try to format the answer, I get the error HY004 Invalid data type for setString.
I know this error comes from firebird, but how can I get rid of this problem?
I tried to save the first select as a query and then open a second query with the first as its source and just add the input parameter, but the error remains the same.
Edited for clarity - @Ratslinger