I have a two dimensional Array that is read from a recordset with the GetRows command. I wanted to know if the field in the Array is empty in column 1 and the 75th Record. When I debug print the field it returns Null but it seems like I can not check if the field in Null because the it is not going through the IF statement and the message box does not pop up.
Code:
NoOfRecords = qryTestFailureRes.RecordCount 'Find out no of failures
ArrayRecordsTestFailures = qryTestFailureRes.GetRows(NoOfRecords)
Debug.Print ArrayRecordsTestFailures(1, 75)
If ArrayRecordsTestFailures(1, 75) = Null Then
MsgBox "No Description exists in the database: Continue?"
TestDescription = "Empty"
Else
TestDescription = ArrayRecordsTestFailures(FieldNum + 1, RecNum + i) 'Test Description
End If
Comment