If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
query to get table and field information
Hi
I'd like to be able to create a query in MS Access (Office XP version) that has the following output: - list of tables: table name, primary key, etc - list of fields: field name, type, size, etc I realise that the analysis tool does this, but the output into Word is not easily usuable - as part of the design process I'd like to be able to manipulate the output in Excel and Visio, so a query would be ideal. Please advise me on how to do this. I'm reasonably experienced at creating straight-forward queries, but I'm a programming novice, willing to try, but please don't assume I'll fill in any gaps! Many thanks. |
#2
|
|||
|
|||
query to get table and field information
Graham wrote: I'd like to be able to create a query in MS Access (Office XP version) that has the following output: - list of tables: table name, primary key, etc - list of fields: field name, type, size, etc See this recent thread on the same subject: http://groups.google.com/group/micro...87a2c378f92069 Jamie. -- |
#3
|
|||
|
|||
query to get table and field information
You can get a list of the tables with this query:
SELECT MsysObjects.Name FROM MsysObjects WHERE (([Type] IN (1,4,6)) AND ([Name] Not Like "~*") AND ([Name] Not Like "MSys*")) ORDER BY MsysObjects.Name; You can list the fields programmatically as shown in this code: http://allenbrowne.com/func-06.html Or if you want a better documenter, Jeff Conrad has one he http://home.bendbroadband.com/conrad.../csdtools.html -- Allen Browne - Microsoft MVP. Perth, Western Australia. Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "Graham" wrote in message ... I'd like to be able to create a query in MS Access (Office XP version) that has the following output: - list of tables: table name, primary key, etc - list of fields: field name, type, size, etc I realise that the analysis tool does this, but the output into Word is not easily usuable - as part of the design process I'd like to be able to manipulate the output in Excel and Visio, so a query would be ideal. Please advise me on how to do this. I'm reasonably experienced at creating straight-forward queries, but I'm a programming novice, willing to try, but please don't assume I'll fill in any gaps! |
#4
|
|||
|
|||
query to get table and field information
Way back in the 70's I worked on an IBM DBOMP database that had been built
to include a data dictionary. I am disappointed that Access has not yet got a proper exposed one. David F. Cox "Graham" wrote in message ... Hi I'd like to be able to create a query in MS Access (Office XP version) that has the following output: - list of tables: table name, primary key, etc - list of fields: field name, type, size, etc I realise that the analysis tool does this, but the output into Word is not easily usuable - as part of the design process I'd like to be able to manipulate the output in Excel and Visio, so a query would be ideal. Please advise me on how to do this. I'm reasonably experienced at creating straight-forward queries, but I'm a programming novice, willing to try, but please don't assume I'll fill in any gaps! Many thanks. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Make Table Query - Sorting Errors | Fred | Running & Setting Up Queries | 19 | February 22nd, 2006 09:41 PM |
Toolbars, Drop-Down Menus | Rick | New Users | 1 | September 21st, 2005 11:17 AM |
Multiple Options Group | Patty Stoddard | Using Forms | 19 | August 4th, 2005 02:30 PM |
Design help, please | SillySally | Using Forms | 27 | March 6th, 2005 04:11 AM |
Big number gives error! | Sara Mellen | Running & Setting Up Queries | 8 | October 11th, 2004 02:48 AM |