Column names to a listbox [message #479072] |
Thu, 14 October 2010 08:56 |
Mattit
Messages: 3 Registered: October 2010 Location: Sidney, ne
|
Junior Member |
|
|
Hey, folks. I'm trying to populate a listbox or dropdown with a list of column names from a given table.
I hunted around and found a quick query to get the result set I need. But no matter what I try whenever I use it (modified slightly) I get an error when I try to use it to populate a listbox.
Original query:
SELECT column_name FROM all_tab_cols where table_name ='SMT_INTERNAL';
Modified query:
SELECT column_name display_value, column_name return_value FROM all_tab_cols where table_name ='SMT_INTERNAL';
Help would be much appreciated.
Thanks,
-- Matt
|
|
|
|
|
|
|
|