check if a field with number data type is blank

jeudi 26 février 2015

Hi Guys



The DolphinBatchNo has number data type but the following sql statement doesn't capture the ight records. it doesn't check id dolphinBatchNo is blank.




Code:



strsql="select * from `MasterTBL` where PolicyNumber>=" & TxtFPolNo & " and PolicyNumber<=" & TxtLPolNo & " and PolicyStatus='Live' and DolphinBatchNo is null order by PolicyNumber"


Thanks

check if a field with number data type is blank

0 commentaires:

Enregistrer un commentaire

Labels