p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   VB Databases Basics (http://p2p.wrox.com/forumdisplay.php?f=82)
-   -   Opening unknown table names (http://p2p.wrox.com/showthread.php?t=1779)

NiMot July 17th, 2003 09:54 AM

Opening unknown table names
 
I'm trying to access all tables in a database where I don't know the table names before hand. I've tried "SELECT * FROM * " but get a FROM clause error. Does anyone know how I can do this?

gbianchi July 17th, 2003 09:58 AM

hi there..

that can be accomplish depending the type of connection you are using..

dao has a tables collection
ado has a adox catalog that you can open and see all the tables...

HTH...

Gonzalo Bianchi

NiMot July 17th, 2003 02:37 PM

PERFECT!!!!! I am using ADO and having it working fine. Thanks a lot!


All times are GMT -4. The time now is 08:27 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.