🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Records to the Combobox?

#771
From: James Peterson
Date: Fri, 08 Apr 2005 16:39
16 lines
1331 bytes
ComboBox1->BeginUpdate();
ComboBox1->Items->Add(ADOQuery1->Fields->Fields[0]->Value );
ComboBox1->EndUpdate();

this should work.

"Guest" <Guest@aew_nospam.com> wrote in message
news:41863815$1@newsgroups.borland.com...
> Hi,
>
> This line adds only one row in combobox:
> ComboBox1->Items->Add(ADOQuery1->Fields->Fields[0]->Value );
>
> How can add all records to the combobox?
>
> User submitted from AEWNET (http://www.aewnet.com/)
Technical Details
Message-ID: <4256b3d7$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!tsicnews.teliasonera.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41863815$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,17ab27b9c4e85127
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "James Peterson" <jpeterson@romanmealmilling.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <41863815$1@newsgroups.borland.com>
Subject: Re: Records to the Combobox?
Date: Fri, 8 Apr 2005 11:39:44 -0500
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 64.21.236.129
Message-ID: <4256b3d7$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1112978391 64.21.236.129 (8 Apr 2005 09:39:51 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!tsicnews.teliasonera.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail