Hi

    I have a Windows 2003 Active Directory and I have a OU with 100000 objects, and I have a query with ASP. The
problem is that when I like to present the query descending by fechaUpload
(for example), Active doesn't order it.

The code is the following one:
 
oCommand.properties("size limit")=100
oCommand.properties("sort on")=" fechaUpload"

LDAPQuery="
LDAP://10.100.111.28/OU=documentos,DC=aspdocxier,DC=i2000,DC=es
"
oCommand.CommandText="select familia, categoria, subcategoria, fechaupload,
numVersiondoc, pathFTP from '" &LDAPQuery& "' where objectClass='doc' and
familia='scanx' "

Thanks.

Raul.

Reply via email to