Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help - CursorAdapter to Active Directory returning memos
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00932675
Message ID:
00932740
Vues:
31
I am using ADO as the DataSourceType; however, using oADOCommandObject raised an error. Is that something I am supposed to define or is that part of the CA?

I entered all of the information for the CA using the builder (other than the line of code below). My Select Command is:
select distinguishedname, sn, givenname, employeeid from 'LDAP://server.domain.com/dc=domain,dc=com' where objectCategory='Person' and objectClass='User' and sn='*'
I have ADO selected as my Data Source Type with my Connection String set as:
Provider=ADsDSOObject;Password=mypassword;User ID=myuser;Encrypt Password=True;Data Source="LDAP://server.domain.com/dc=domain,dc=com";Mode=Read;Bind Flags=0;ADSI Flag=-2147483648;
BTW, thanks for your help on this!

>>I added the following code to the CursorFill method:
>>
>>return dodefault(.T.,lNoData,nOptions,Source)
>>
>>
>>However, I get the same results. I'm new to this CA stuff but from the help file it seemed like passing .T. as the first parm would force it to use the schema. Am I missing something?
>
>Are you using ADO as the DataSourceType? If so try...
>
>llRetVal = DODEFAULT(.T., lNoData, nOptions, oADOCommandObject)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform