I'm trying to populate a custom data table with info from some tables in a dataset, the problem is I can't seem to check if the field is empty (if it is I just want to pass over it and grab the next row).

This is the code I'm using but it just doesn't function as I'd expected.
VB Code:
  1. For rowCount=1 to objDataSet.Tables("medical").rows.count
  2.         If objDataSet.Tables("medical").rows(rowCount-1).Item(condition) IS Nothing then
  3.             expireDate=""
  4.         ELSE
  5.             expireDate=objDataSet.Tables("medical").rows(rowCount-1).Item(condition)
  6.         End If
  7.  
  8.         if expireDate >= dateToday then
  9.             strName=objDataSet.Tables("medical").rows(rowCount-1).Item("FirstName") & " " & objDataSet.Tables("medical").rows(rowCount-1).Item("LastName")
  10.             objDataRow=dtblExpired.NewRow()
  11.             objDataRow.Item("Name")= strName
  12.             dtblExpired.Rows.Add(objDataRow)
  13.         End If
  14.     Next