Hi Mirco,
DocuWare uses VBA Syntax here. You might want to compare with nothing, or use the ISNULL() function.
https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/isnull-function
Hope this helps.
Greetings from Germany,
Simon H. Hellmann
DocuWare System Consultant