Kbase P109378: Why can't I set a Date field in a temp-table to Nothing in VB.Net?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  28/09/2005 |
|
Status: Unverified
GOAL:
Why can't I set a Date field in a temp-table to Nothing in VB.Net?
GOAL:
Why can't I set a Date field in a temp-table to null in C#.Net?
FACT(s) (Environment):
OpenEdge 10.x
FIX:
Setting something to Nothing (VB) or null (C#) can only be done to an Object and the .Net framework implemented the Date data type is a native data type rather than an Object. To set a date field to Nothing (VB) or null (C#) you must use the set<FieldName>Null() method.