itipu
10-10-2007, 06:20 AM
Hi, I am dumping some stuff from AD, and would like to skip some records if their value contains "-n-t".
The line below gives a string value...
objRecordSet.Fields("cn").Value
I want to say something like:
If objRecordSet.Fields("cn").Value contains "-n-t" then
objRecordSet.MoveNext
Just not sure how to get to "-n-t"... Records are of variable length so left, mid or right wont work!
Thx a lot
Mike
The line below gives a string value...
objRecordSet.Fields("cn").Value
I want to say something like:
If objRecordSet.Fields("cn").Value contains "-n-t" then
objRecordSet.MoveNext
Just not sure how to get to "-n-t"... Records are of variable length so left, mid or right wont work!
Thx a lot
Mike