List Info

Thread: help me in dbcombobox




help me in dbcombobox
country flaguser name
United States
2007-08-24 07:45:11

hi.
I've used dbcombobox which is connected to a dataset connected to adoquery with this sql: 'select * from table'
but although my adoquery is active but dbcombobox just show first record of table.
I don't know where the problem is.
please help me.

---------------------------------
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
RE: help me in dbcombobox
country flaguser name
Australia
2007-08-24 08:12:16

Please tell us more about what you are trying to do with the DBCombobox and
what you are expecting it to display. What is your problem?

Is it possible you really want to use a DBLookupCombobox?

Glen
-----Original Message-----
From: delphi-en%40yahoogroups.com">delphi-enyahoogroups.com [mailto: delphi-en%40yahoogroups.com">delphi-enyahoogroups.com]On Behalf
Of sara-arian
Sent: Friday, 24 August 2007 10:15 PM
To: Delphir%40yahoogroups.com">Delphiryahoogroups.com; delphi_programers%40yahoogroups.com">delphi_programersyahoogroups.com;
delphi-en%40yahoogroups.com">delphi-enyahoogroups.com
Subject: [delphi-en] help me in dbcombobox

hi.
I've used dbcombobox which is connected to a dataset connected to adoquery
with this sql: 'select * from table'
but although my adoquery is active but dbcombobox just show first record of
table.
I don't know where the problem is.
please help me.

---------------------------------
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.

[Non-text portions of this message have been removed]

__________ NOD32 2482 (20070824) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
Re: help me in dbcombobox
country flaguser name
United States
2007-08-24 08:55:09

hi i have resolved your problem just you have to put the field name which you want to show in dbcombobox and please let me know if i can help you
u can put this code in form create ot button click


while not Query1.Eof do begin
DBComboBox1.Items.Add(Query1.FieldByName('FIRST_NAME').AsString);
Query1.Next;
end;




sara-arian < aban4009%40yahoo.com">aban4009yahoo.com> wrote:
hi.
I've used dbcombobox which is connected to a dataset connected to adoquery with this sql: 'select * from table'
but although my adoquery is active but dbcombobox just show first record of table.
I don't know where the problem is.
please help me.

---------------------------------
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.

[Non-text portions of this message have been removed]

---------------------------------
Pinpoint customers who are looking for what you sell.

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )