Convert Null to zero in access database

前端 未结 2 819
一向
一向 2021-01-24 22:28

Considering that Grade.firstExam, Grade.secondExam, and Grade.finalExam are all TEXT and not numbers, i can\'t get the exact solution to convert null values

2条回答
  •  梦毁少年i
    2021-01-24 22:33

    In your SQL try something like this:

    SQLStatement &= "          IIf(IsNull(Grade.firstExam),'0',Grade.firstExam) as 'firstExam', "
    

提交回复
热议问题