Submitted by JXB on Wed, 09/10/2014 - 01:29
Forums:
To all
I have a array defined and I want to check for empty elements in this array. Normally I used the IsEmpty() keyword but it's not recognised in journal. Could any one enlighten me on this one?
For i = 1 to 4
If IsEmpty(arrInputRow(i)) Then errorcounter = errorcounter + 1
Next
Thanks
Regards
JXB
re: IsEmpty()
Try using IsNothing() in place of IsEmpty().
Works a treat. thanks.
Works a treat. thanks.
Regards
Thanks
Regards
IsEmpty
IsEmpty is VB 6 jargon, I think. In VB.NET, you can write
or, alternatively