Subject Re: [IBO] How can I populate Table names in a database to a listbox
Author Metin Gonen
One more question.

If the table name is selected from the listbox, now how can I populate the
field names from that table to another listbox ?

Metin Gonen


----- Original Message -----
From: ""Dmitry Beloshistov"" <torin@...>
Newsgroups: egroups.ibobjects
To: <IBObjects@yahoogroups.com>
Sent: Monday, February 20, 2006 2:32 PM
Subject: Re: [IBO] How can I populate Table names in a database to a listbox


> Hello, Metin!
> You wrote to <IBObjects@yahoogroups.com> on Mon, 20 Feb 2006 14:05:00
> +0200:
>
> MG> As indicated on the subject
>
> 1) ListBox1.Items.Assing(IB_Connection1.SchemaCache.TableNames);
>
> or
>
> 2) ListBox1.Items.Clear;
> ListBox1.Items.AddStrings(IB_Connection1.SchemaCache.TableNames);
>
> or
>
> 3) ListBox1.Items.Text:=IB_Connection1.ShemaCache.TableNames.Text;
>
> ;)
>
> WBR,Dmitry Beloshistov AKA [-=BDS=-]
>
>
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
> InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
> papers,
> keyword-searchable FAQ, community code contributions and more !
> Yahoo! Groups Links
>
>
>
>
>
>



---
avast! Antivirus: Giden mesaj temiz.
Virus Veritabani (VPS): 0607-2, 16.02.2006
Test zamani: 2/20/2006 15:37:07
avast! - copyright (c) 1988-2004 ALWIL Software.
http://www.avast.com