Dim r As Row = CurrentTable.Current() If r("收款_未收款") = 0 And r("结算日期") Is not null Then r("结算") ="已结算" End If
想判断未收款列为0,结算日期不为空时进行结算锁定处下,但是非空值老提示出错