If result.Tag = "not sent" Then
Dim ListOfMaps As List
ListOfMaps.Initialize
Log("Results Rows: " & result.Rows)
If (result.rows <> Null) Then <--------TRIED THIS
For Each row() As Object In result.Rows
ListOfMaps.Add(CreateMap("ID": row(0), "City": row(1), "Product1": row(2), "Product2": row(3), "Product3": row(4), "Product4": row(5), "Product5": row(6)))
Next
Log("Map: " & ListOfMaps)
sendTimestampSent(row(0)) <--------- Error here ((row(0)) is NULL
End If <------------------------------
End If