Article View: borland.public.cppbuilder.database.ado
Article #1071updating dblookupcombobox ...
From: Renato
Date: Mon, 15 Nov 2004 18:07
Date: Mon, 15 Nov 2004 18:07
17 lines
1554 bytes
1554 bytes
Hi, my question is about how to update the list of dblookupcombobox. I have a Form1, DBLookupComboBox1 and Button1 (to call Form2). And Form2 that insert a row on a Table1. DBLookupcombobox1 shows names from Table1 using ADOQuery1. The problem is that the combobox is not updating when I insert new record on Form2 and then close Form2. I need to close Form1 and then open Form1 again to have the new record on the list. PS: I close and open ADOQuery1 just after closing Form2 but it doesn�t have effect (I use click event of Button1 to do this). If someone had some problem like this, I�d like a help. Thank you. Renato
Technical Details
Message-ID:
<4198f028@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,f97efc0fcd3bac60,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII Date: Mon, 15 Nov 2004 16:07:33 -0200 From: Renato <rc-freitas@uol.com.br> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040608 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.ado Subject: updating dblookupcombobox ... Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 201.8.144.85 Message-ID: <4198f028@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1100541992 201.8.144.85 (15 Nov 2004 10:06:32 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail