home bbs files messages ]

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,026 of 10,840   
   Steven Smith to Karl E. Peterson   
   Re: Get table names from MSAccess Dataso   
   18 Apr 06 02:51:31   
   
   XPost: comp.lang.visual.basic.misc   
   From: sluke4@webbox.com   
      
   Thanks Karl... I would've preferred ADO or SQL, but since it's only for one   
   query in my program, this'll work just fine!   
      
      
   "Karl E. Peterson"  wrote in news:e210ej$3im$1   
   @emma.aioe.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