E ekta Registered User. Local time Today, 08:58 Joined Sep 6, 2002 Messages 160 Jul 9, 2004 #1 Hi: I have a combobox that shows my database tables. I want that when user selects a table, all the fields in that table should be displayed in the listbox. How can I do that? Thanks, Ekta
Hi: I have a combobox that shows my database tables. I want that when user selects a table, all the fields in that table should be displayed in the listbox. How can I do that? Thanks, Ekta
D doran_doran Registered User. Local time Today, 07:58 Joined Aug 15, 2002 Messages 349 Jul 9, 2004 #2 sample... I seen some sample database regarding what you want to do. please visit following. http://www.rogersaccesslibrary.com Good Luck
sample... I seen some sample database regarding what you want to do. please visit following. http://www.rogersaccesslibrary.com Good Luck
pbaldy Wino Moderator Staff member Local time Today, 05:58 Joined Aug 30, 2003 Messages 36,157 Jul 9, 2004 #3 Choose Field List as the row source type.
K Kicker Guest Jul 9, 2004 #4 Assuming you know how to additem to the listbox, Dim n As Integer for n = 0 to rst.fields.count - 1 listbox.additem rst.Fields.Name next n Last edited: Jul 9, 2004
Assuming you know how to additem to the listbox, Dim n As Integer for n = 0 to rst.fields.count - 1 listbox.additem rst.Fields.Name next n