VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Avoiding use of null

by VB FAQ (6 Submissions)
Category: Databases/Data Access/DAO/ADO
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (11 Votes)

How do you avoid the "Invalid use of null" error when reading null values from a database?If you try to retrieve a null value (empty field) from a database, you will get the error: "Invalid use of Null". Here is one way to get around this problem: ..

Rate Avoiding use of null

TextBox.Text = MyTest.Fields("TestFld") & ""

Download this snippet    Add to My Saved Code

Avoiding use of null Comments

No comments have been posted about Avoiding use of null. Why not be the first to post a comment about Avoiding use of null.

Post your comment

Subject:
Message:
0/1000 characters