Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help - CursorAdapter to Active Directory returning memos
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00932675
Message ID:
00932741
Views:
20
Just re-read my message and this was a bit misleading. When I said, "... other than the line of code below", I was referring to the code I added to CursorFill not to my Select Command.

>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform