Sorry if this should be posted in a different forum; mods can move it if they want.
Lots of times you can leave off a control's default property when referring to the control, i.e. strFoo = txtBar instead of strFoo = txtBar.Text. Supposedly, this is a little faster, according to my VB5 textbook years ago.
But I didn't know until today that if, say, the textbox is empty, that method throws error 94, Invalid Use of Null. If I use txtBar.Text, it works fine, returning an empty string.
I know I could use Nz() to check the value, but it's easier to just add .Text.