Showing results for 
Search instead for 
Did you mean: 

How do I set a NULL value for the parameter field

Former Member
0 Kudos


I've another question. I'm going to set single values for parameter fields.

// e.g. set today for StartDate parameter field
fc.setCurrentValue("", "StartDate", new Date());

It should be possible to set a NULL value for date parameter fields.

fc.setCurrentValue("", "StartDate", (Date)null);

But this do not work. How do I set a NULL value correctly?

Thank you in advance.

Best regards,


Accepted Solutions (1)

Accepted Solutions (1)

Active Contributor
0 Kudos

First question - is it a stored procedure parameter?

You can't set a regular parameter field value to a null value.

There was an issue with old version of the JRC, where it was allowing null to go through, but had unexpected behavior at times.


Ted Ueda

Former Member
0 Kudos

It would be a regular parameter.

Thank you for your quick reply.

Best regards from Switzerland


Answers (0)