Subject | Re: [IBO] How can I populate Table names in a database to a listbox |
---|---|
Author | Martijn Tonies |
Post date | 2006-02-21T08:42:30Z |
> >> Use the OnSelectionChanged event of the first listbox to load theI guess you could have figured this out yourself if you
> >> second listbox.
>
> MG> How will I "load" the second listbox ?
>
> TableName you can obtain from TableNames listbox and:
>
> IB_Connection1.SchemaCache.GetTableFields(TableName,FieldsListBox.Items);
just would have looked, wouldn't you? :-)
Martijn Tonies
Database Workbench - development tool for Firebird and more!
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com