🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Question about the TDBLookupComboBox Control

#5039
From: Harold Howe (TeamB)
Date: Sun, 05 Aug 2001 21:42
12 lines
1428 bytes
> I am using a TDBLookupComboBox control to select and display records within
> a database.  The control works fine for selecting the records, but the only
> thing that I can't figure out is how to fill the edit portion of the
> combobox when the program is intial displayed.  ...
> So how do I intially fill (or select
> an item) the edit portion of the control?

Try assigning an initial value to the field that is being editing (the datafield
property of the lookupcombo). 

Harold Howe [TeamB]
http://www.bcbdev.com
Technical Details
Message-ID: <3B6DBDCA.B0F2CBF@bcbdev.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!news-xfer.siscom.net!intgwlon.nntp.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3b6336d4_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,62d882a12fe54bb
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-08-05 14:47:22 PST
Message-ID: <3B6DBDCA.B0F2CBF@bcbdev.com>
Date: Sun, 05 Aug 2001 16:42:34 -0500
From: "Harold Howe (TeamB)" <hhowe@bcbdev.com>
X-Mailer: Mozilla 4.03 [en] (WinNT; I)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Re: Question about the TDBLookupComboBox Control
References: <3b6336d4_1@dnews>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.22.227.236
X-Trace: dnews 997047743 24.22.227.236 (5 Aug 2001 14:42:23 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!news-xfer.siscom.net!intgwlon.nntp.telstra.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews