Try Googling Delphi Access Database You get: http://delphi.about.com/library/weekly/aa071205a.htm
Includes source code. Program does what you want. Mike Andries Bos wrote: > > I would like o connect to an access database at runtime. I use an > TADOConnection and a TAdoTable to populate a datagrid with the actual > data. > > I can connect the the database at runtime by using a dynamic > connectionstring usign somthing like. > "'Provider=Microsoft.Jet.OLEDB.4.0;'+ ".... > > There are plenty of good examples to learn how to do this. > > however I would populate a combobox with the table name to let the > user pick one of them. > The chosen table name would be used to set the Tadotable.tablename > property. > > How could I retrieve all table names within a chosen Access database? ( > > Regards > > Andries > > ________________________________ > > Slide scanning / dia's scannen > vanaf / from > E0,08c > www.scancare.nl > > ________________________________ > > [Non-text portions of this message have been removed] > > ------------------------------------ ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [email protected]! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/delphi-en/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

