Code:if not DTR("pro_weight").value is null Txtweight.text = DTR("pro_weight") end if
error is -> BC30822: 'null' is not declared. 'Null' constant is no longer supported; use 'System.DBNull' instead.
i'm used to programming in vb, and i don't think this can be done this way in vb.net
what is the way to do it? I'm just checking if the field pro_weight is null or not (since setting Txtweight.text = DTR("pro_weight") where dbfield pro_weight is null will result in an error too...


Reply With Quote

