🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #299

TADOQuery and AD multi valued properties

#299
From: Berthold Stahn
Date: Sun, 02 Jul 2006 16:51
17 lines
1479 bytes
Hi ,

I'm trying to  use  ADsDSOObject provider and TADOQuery  to list the members
of a security group from Active Directory.   When trying to read the 
property  Member,

the programs responds with:    Cannot  convert  array  variant  to string.
 I'm using a "normal" TDBGrid to display the results.   It's works fine for 
single valued properties.

Any ideas ??


Thank you for helping me.


Berthold 
Technical Details
Message-ID: <44a7f9b9@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,2a617c414ec65eb2,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Berthold Stahn" <Berthold.Stahn@teleos-web.de>
From: "Berthold Stahn" <Berthold.Stahn@teleos-web.de>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: TADOQuery and  AD  multi valued  properties
Date: Sun, 2 Jul 2006 18:51:56 +0200
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
NNTP-Posting-Host: 213.182.108.12
Message-ID: <44a7f9b9@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1151859129 213.182.108.12 (2 Jul 2006 09:52:09 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail