Could not convert variant of type (Null) into type (OleStr)

后端 未结 4 1287
离开以前
离开以前 2021-02-09 15:14

Do you know why the block of code bellow will negate the \"Could not convert variant of type (Null) into type (OleStr)\" on some computers, not all of them but 3 out of ten comp

4条回答
  •  春和景丽
    2021-02-09 15:33

    If you want to null variants to be automatically converted to empty strings, 0 integers, or false booleans, set NullStrictConvert (unit System.Variants) to False.

提交回复
热议问题