Article View: borland.public.cppbuilder.database.ado
Article #3525Re: Master/detail relationship w/ ComboBox
From: Rob Graham
Date: Fri, 26 Jul 2002 17:45
Date: Fri, 26 Jul 2002 17:45
27 lines
1879 bytes
1879 bytes
Of course it's possible - you've already laid out how it works. Take the selection from the first combobox and use it in a SQL query. Use that dataset to fill the second combobox. Then do the same for the third based on the choice of the first. No sweat. Rob Graham "Uros Obradovic" <ouros@hotmail.com> wrote in message news:3d417d40_2@dnews... > Hi guys, > Is it possible to do master/detail relationship using ComboBoxes. What I > have in my mind is this: > I have 3 ComboBox on my form. First is active while other 2 are not. When I > choose something from the first ComboBox, 2nd one becomes active, giving me > values that are equal to some SQL query. while doing this 3rd ComboBox is > still unactive. When I choose some value from 2nd ComboBox, 3rd becomes > active and values in 3rd are equal to some SQL query. > > Some hints would be welcome. > > Thanks > Uros > >
Technical Details
Message-ID:
<3d418a64$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-04!supernews.com!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3d417d40_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,907f2063f6a9ea50 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-07-26 10:50:06 PST Reply-To: "Rob Graham" <rpgraham@eatel.net> From: "Rob Graham" <rpgraham@eatel.net> Newsgroups: borland.public.cppbuilder.database.ado References: <3d417d40_2@dnews> Subject: Re: Master/detail relationship w/ ComboBox Date: Fri, 26 Jul 2002 12:45:43 -0500 Lines: 29 Organization: Syndistar, Inc. X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 NNTP-Posting-Host: 204.1.99.145 Message-ID: <3d418a64$1_1@dnews> X-Trace: dnews 1027705444 204.1.99.145 (26 Jul 2002 10:44:04 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-04!supernews.com!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews