Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 10,025 of 10,840    |
|    Karl E. Peterson to Steven Smith    |
|    Re: Get table names from MSAccess Dataso    |
|    17 Apr 06 14:14:35    |
      XPost: comp.lang.visual.basic.misc       From: karl@mvps.org              Steven Smith wrote:       > I have a vb6 (not .NET) program using MS Access as the backend. As       > part of an import form, I need to allow the user to select the table       > containing the data to be imported. How can I populate a combo with       > this information? Then, once this value is selected, how can I       > populate other combos with the column names of the selected table?              Iterate the TableDefs collection looking at each item's Name property to       offer a choice of tables. And, within each TableDef, you can loop the       Fields collection.       --              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca