When I read stuff from files or databases, it is possible to get an empty field. So it returns the NULL constant.
But I want to apply the readed information direct in a text field, for example:
txtTest.text = databasefield
If the databasefield returns NULL, the program will "crash". Now I believe there was a function to turn a NULL value into an empty string in VBA (I believe it was LN?). For example:
txtTest.text = ln(databasefield)
If the databasefield is NULL, the LN function will make an empty string of it and the program won't crash anymore.
Is there something like this in VB 6? I'm a VB beginner as you could guess