VB Check Nulls



techstore
LQ Net Home

























Check for NULL Values

print    Printer Friendly Page


Public Function StrNulls(vntField As Variant) As String

If IsNull(vntField) Then
StrNulls = " "
Else
StrNulls = Trim$(CStr(vntField)
End If

End Function


USAGE:     txtAddress.Text = StrNulls(rs!Address)








   Today's News





Office Depot, Inc

Tech Depot - An Office Depot Co.



Overstock.com, Inc.

























Copyright © 2006-2008, LQ Systems,Inc. All rights reserved.