Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
rajeshkumar77
Starting Member
46 Posts |
Posted - 2002-05-09 : 10:16:55
|
Dear friends,I oracle we have statement to display the columns of a specific table like .. desc emp;Is there anything like that in ms access ?if anyone having idea on this, please share ur ideas.Thanks in advnace.YoursRajesh |
|
rrb
SQLTeam Poet Laureate
1479 Posts |
Posted - 2002-05-09 : 22:06:27
|
Greetings fello AussieYes there is. Are you using DAO 3.6 (ie is it an .mdb?)If so:Dim db as DatabaseDim tdf as Tabledefset db = CurrentDbSet tdf = db.Tabledefs("TableName")MsgBox tdf.Fields.CountSet tdf = nothingSet db = nothing--I hope that when I die someone will say of me "That guy sure owed me a lot of money" |
 |
|
|
|
|