Re: need help with query sql:param null

Posted by fritz on
URL: https://discuss.orbeon.com/need-help-with-query-sql-param-null-tp4658948p4659006.html

Hi Erik,
sorry for late answering , I think I've not been clear in expose the probem.
If I use <sql:param type="xs:dateTime" select="" null="normalize-space(.......) = ''"/>);
when I pass a parameter ( and I see in inspector instance is correct valorized ) the query always inserts null,
is like I cant address correctly to the parameter.
I've uploaded a sample  to better explain my intentions, if you enter a value in 'IN' input and click on the without
button you get the value in 'OUT'.
If I use the with button I always get null value and not the value from parameter.

Test.xml