Sorry you guys who offered help on getting "invalid use of Null" message. Still having trouble. Here is the code. In the DB, "AllowZeroLength = YES". As I mentioned, works fine when there is data in the fields.
arrSpouseParents = mobjSpouseParents.GetSpouseParents(mlngPersonID)
If Not IsEmpty(arrSpouseParents) Then
txtMGFather.Text = arrSpouseParents(0, 0)
txtMGMother.Text = arrSpouseParents(1, 0)
Else
txtMGFather.Text = ""
txtMGMother.Text = ""
End If
arrSpouseParents = mobjSpouseParents.GetSpouseParents(mlngPersonID)
If Not IsEmpty(arrSpouseParents) Then
txtMGFather.Text = arrSpouseParents(0, 0)
txtMGMother.Text = arrSpouseParents(1, 0)
Else
txtMGFather.Text = ""
txtMGMother.Text = ""
End If