How to verify if a Numeric field is null or empty or nothing

  • Thread starter Thread starter MosheS Singer
  • Start date Start date
M

MosheS Singer

Guest
If I want to verify if a field that has an ID number or currency is empty or null or nothing, I don't know which code to use.

When I use string.IsNullorEmpty I get an error message "this is not a string".

If I use (field).toString.length>0 then I get an error message "this is not a string".

If Not IsDBNull it does not give accurate results, because it displays even fields that are empty.

I look forward to your quick reply.

Continue reading...
 
Back
Top