Ramya_mudambi
Registered User.
- Local time
- Today, 17:06
- Joined
- Dec 27, 2013
- Messages
- 32
Master,
In the SELECT query, i'm trying to lookup with ADgroupNames ending with "NET".
.CommandText = "SELECT name, member FROM 'LDAP://" & ADServer & "' WHERE name like '%NET'"
The system stops at line- "Set rsGroups = .Execute" and displays Run-time error '-2147217900 (80040e14)': One or more errors occurred during processing of command.
When tried in SQL "where name like '%NET'" it works fine. I tried using "' WHERE name = '%NET'". It did not work either
Request you to guide me in the right direction here.
In the SELECT query, i'm trying to lookup with ADgroupNames ending with "NET".
.CommandText = "SELECT name, member FROM 'LDAP://" & ADServer & "' WHERE name like '%NET'"
The system stops at line- "Set rsGroups = .Execute" and displays Run-time error '-2147217900 (80040e14)': One or more errors occurred during processing of command.
When tried in SQL "where name like '%NET'" it works fine. I tried using "' WHERE name = '%NET'". It did not work either

Request you to guide me in the right direction here.