DMXzone Server Connect Support Product Page

Answered

Help with NULL value on Date field

Asked 10 Aug 2017 00:41:20
1
has this question
10 Aug 2017 00:41:20 Ken Pollard posted:
I am using a Server Connect query to update a SQL database and need to set a populated date field back to NULL. I can't figure out how to do that. If I leave it blank I the the SQL default date of 1900-01-01. If I put IS NULL or NULL I get an error. Can someone please point me in the right direction.

Note: I am doing this directly in the action, I am not posting a form, but could if necessary.

Many thanks!

Replies

Replied 10 Aug 2017 06:54:09
10 Aug 2017 06:54:09 Teodor Kuduschiev replied:
Hi Ken,
Just use the default format option in the value field, like:

{{yourValue.default(null)}}

Replied 10 Aug 2017 20:43:53
10 Aug 2017 20:43:53 Ken Pollard replied:
Teodor,

Once again you are my hero . Worked perfect, thanks!

Reply to this topic