All,
I have the following:
If .IsDBNull(4) Then
mStrFirstName = ""
Else
mStrFirstName = .GetString(4)
End If
but I would like to use:
mStrFirstName = IIf(.IsDBNull(4), "", .GetString(4))
Unfortunately I get the message:
Option Strict On disallows implicit conversion from "System.Object" to "String"
How can I change the IIF to allow the command?
TIA
Rex