README.md

December 4, 2022 ยท View on GitHub

Avoiding use of null

Description

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: ..

More Info

Submitted On
ByVB FAQ
LevelUnknown
User Rating4.7 (52 globes from 11 users)
CompatibilityVB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0
CategoryDatabases/ Data Access/ DAO/ ADO
WorldVisual Basic
Archive File

Source Code

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