Hello, I'm trying to determine if an array has a value in it and come up with something that works but is there a better way? Any help would be great. Thanks WebGuyToo
Here is what I have: my array is a string array
Dim LineIn As String
Dim arrArgs() As String
LineIn = FileReader.ReadLine 'read line by line
arrArgs = Split(LineIn, "|")
******* here is the code
If CType(arrArgs(6), Boolean).TrueString = "" Then
strSpecialtyEffDates = arrArgs(6)
Else
strSpecialtyEffDates = ""
End If
Here is what I have: my array is a string array
Dim LineIn As String
Dim arrArgs() As String
LineIn = FileReader.ReadLine 'read line by line
arrArgs = Split(LineIn, "|")
******* here is the code
If CType(arrArgs(6), Boolean).TrueString = "" Then
strSpecialtyEffDates = arrArgs(6)
Else
strSpecialtyEffDates = ""
End If