473,385 Members | 1,582 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How To Export Table Structure Including Description

RobH
56
I want to export my table structures into a list, but i need to see the description details as well.

Anyone ???
Sep 17 '07 #1
14 45988
ADezii
8,834 Expert 8TB
I want to export my table structures into a list, but i need to see the description details as well.

Anyone ???
In order to obtain comprehensive documentation on a Table and its Fields, take these steps in sequence:
  1. Tools
  2. Analyze
  3. Documenter
  4. Tables Tab
  5. Select Table(s)
  6. Options
  7. Select Include Options
  8. OK
  9. OK
Sep 17 '07 #2
RobH
56
Sorry - Should Have Mentioned Access 2007
Sep 17 '07 #3
ADezii
8,834 Expert 8TB
Sorry - Should Have Mentioned Access 2007
Sorry, but I can't help you there. I'm not sure if Access 2007 has the same Documenter functionality. You could always, of course, write code to accomplish pretty much the same thing.
Sep 17 '07 #4
RobH
56
I wasnt aware that you could view that from within Access itself
Sep 17 '07 #5
ADezii
8,834 Expert 8TB
I wasnt aware that you could view that from within Access itself
Yes, RobH - it can be done via VBA. I've written some simple code that will write the Properties of the Employees Table in Northwind.mdb, list all the Fields in the Employees Table along with their Properties and associated Values, to a file named Table Structure.txt in C:\. This code can be modified to include all Tables as well.
On Error Resume Next

DoCmd.Hourglass True

Expand|Select|Wrap|Line Numbers
  1. Open "C:\Table Structure.txt" For Output As #1
  2.  
  3. Dim db As DAO.Database
  4. Dim tdf As DAO.TableDef
  5. Dim prp As DAO.Property, fldprp As DAO.Property
  6. Dim fld As DAO.Field
  7.  
  8. Set db = CurrentDb()
  9.  
  10. Set tdf = db.TableDefs("Employees")
  11.  
  12. For Each prp In tdf.Properties
  13.   Print #1, "|--- " & prp.Name & " ==> " & prp.Value
  14. Next prp
  15.  Print #1, "---------------------------------------------------------"
  16.     For Each fld In tdf.Fields
  17.       Print #1, "|--- " & fld.Name & " (Field in " & tdf.Name & ")"
  18.       For Each fldprp In fld.Properties
  19.         Print #1, "|------ " & fldprp.Name & " ==> " & fldprp.Value
  20.       Next
  21.     Next
  22. 'Next prp
  23.  
  24. Close #1
  25.  
  26. DoCmd.Hourglass False
Contents of Table Structure.txt:
Expand|Select|Wrap|Line Numbers
  1. |--- Name ==> Employees
  2. |--- Updatable ==> True
  3. |--- DateCreated ==> 2/2/2007 8:06:39 PM
  4. |--- LastUpdated ==> 5/22/2007 11:51:42 AM
  5. |--- Connect ==> 
  6. |--- Attributes ==> 0
  7. |--- SourceTableName ==> 
  8. |--- RecordCount ==> 16
  9. |--- ValidationRule ==> 
  10. |--- ValidationText ==> 
  11. |--- ConflictTable ==> 
  12. |--- ReplicaFilter ==> 
  13. |--- Orientation ==> 0
  14. |--- OrderByOn ==> True
  15. |--- NameMap ==> ??  ????????  ????    Employees   ???????? ????????PrimaryKey   ???????? ????????EmployeeID   ???????? ????????LastName   ???????? ????????FirstName   ???????? ????????Title   ???????? ????????TitleOfCourtesy   ???????? ????????BirthDate   ???????? ????????HireDate   ???????? ????????Address   ???????? ????????City   ???????? ????????Region   ???????? ????????PostalCode   ???????? ????????Country   ???????? ????????HomePhone   ???????? ????????Extension   ???????? ????????Photo   ???????? ????????Notes   ???????? ????????ReportsTo   ???????? ????????PhotoPath   ?o?????? ????????SomeField   ???????? ????????TimeObserved   ???????? ????????Full   ???????? ????????CREW   ???????? ????????File                     
  16. |--- DefaultView ==> 2
  17. |--- GUID ==> ????????
  18. ---------------------------------------------------------
  19. |--- PrimaryKey (Field in Employees)
  20. |------ Attributes ==> 17
  21. |------ CollatingOrder ==> 1033
  22. |------ Type ==> 4
  23. |------ Name ==> PrimaryKey
  24. |------ OrdinalPosition ==> 0
  25. |------ Size ==> 4
  26. |------ SourceField ==> PrimaryKey
  27. |------ SourceTable ==> Employees
  28. |------ DataUpdatable ==> False
  29. |------ DefaultValue ==> 
  30. |------ ValidationRule ==> 
  31. |------ ValidationText ==> 
  32. |------ Required ==> False
  33. |------ AllowZeroLength ==> False
  34. |------ ColumnWidth ==> -1
  35. |------ ColumnOrder ==> 0
  36. |------ ColumnHidden ==> False
  37. |------ GUID ==> ????????
  38. |--- EmployeeID (Field in Employees)
  39. |------ Attributes ==> 1
  40. |------ CollatingOrder ==> 1033
  41. |------ Type ==> 4
  42. |------ Name ==> EmployeeID
  43. |------ OrdinalPosition ==> 1
  44. |------ Size ==> 4
  45. |------ SourceField ==> EmployeeID
  46. |------ SourceTable ==> Employees
  47. |------ DataUpdatable ==> False
  48. |------ DefaultValue ==> 
  49. |------ ValidationRule ==> 
  50. |------ ValidationText ==> 
  51. |------ Required ==> True
  52. |------ AllowZeroLength ==> False
  53. |------ ColumnWidth ==> -1
  54. |------ ColumnOrder ==> 0
  55. |------ ColumnHidden ==> False
  56. |------ DecimalPlaces ==> 255
  57. |------ DisplayControl ==> 109
  58. |------ GUID ==> ????????
  59. |--- LastName (Field in Employees)
  60. |------ Attributes ==> 2
  61. |------ CollatingOrder ==> 1033
  62. |------ Type ==> 10
  63. |------ Name ==> LastName
  64. |------ OrdinalPosition ==> 2
  65. |------ Size ==> 20
  66. |------ SourceField ==> LastName
  67. |------ SourceTable ==> Employees
  68. |------ DataUpdatable ==> False
  69. |------ DefaultValue ==> 
  70. |------ ValidationRule ==> 
  71. |------ ValidationText ==> 
  72. |------ Required ==> True
  73. |------ AllowZeroLength ==> True
  74. |------ ColumnWidth ==> 3180
  75. |------ ColumnOrder ==> 0
  76. |------ ColumnHidden ==> False
  77. |------ DisplayControl ==> 109
  78. |------ IMEMode ==> 0
  79. |------ IMESentenceMode ==> 3
  80. |------ UnicodeCompression ==> False
  81. |------ GUID ==> ????????
  82. |--- FirstName (Field in Employees)
  83. |------ Attributes ==> 2
  84. |------ CollatingOrder ==> 1033
  85. |------ Type ==> 10
  86. |------ Name ==> FirstName
  87. |------ OrdinalPosition ==> 3
  88. |------ Size ==> 10
  89. |------ SourceField ==> FirstName
  90. |------ SourceTable ==> Employees
  91. |------ DataUpdatable ==> False
  92. |------ DefaultValue ==> 
  93. |------ ValidationRule ==> 
  94. |------ ValidationText ==> 
  95. |------ Required ==> True
  96. |------ AllowZeroLength ==> True
  97. |------ ColumnWidth ==> -1
  98. |------ ColumnOrder ==> 0
  99. |------ ColumnHidden ==> False
  100. |------ DisplayControl ==> 109
  101. |------ IMEMode ==> 0
  102. |------ IMESentenceMode ==> 3
  103. |------ UnicodeCompression ==> False
  104. |------ GUID ==> ????????
  105. |--- Title (Field in Employees)
  106. |------ Attributes ==> 2
  107. |------ CollatingOrder ==> 1033
  108. |------ Type ==> 10
  109. |------ Name ==> Title
  110. |------ OrdinalPosition ==> 4
  111. |------ Size ==> 30
  112. |------ SourceField ==> Title
  113. |------ SourceTable ==> Employees
  114. |------ DataUpdatable ==> False
  115. |------ DefaultValue ==> 
  116. |------ ValidationRule ==> 
  117. |------ ValidationText ==> 
  118. |------ Required ==> False
  119. |------ AllowZeroLength ==> True
  120. |------ ColumnWidth ==> -1
  121. |------ ColumnOrder ==> 0
  122. |------ ColumnHidden ==> False
  123. |------ DisplayControl ==> 109
  124. |------ IMEMode ==> 0
  125. |------ IMESentenceMode ==> 3
  126. |------ UnicodeCompression ==> False
  127. |------ GUID ==> ????????
  128. |--- TitleOfCourtesy (Field in Employees)
  129. |------ Attributes ==> 2
  130. |------ CollatingOrder ==> 1033
  131. |------ Type ==> 10
  132. |------ Name ==> TitleOfCourtesy
  133. |------ OrdinalPosition ==> 5
  134. |------ Size ==> 25
  135. |------ SourceField ==> TitleOfCourtesy
  136. |------ SourceTable ==> Employees
  137. |------ DataUpdatable ==> False
  138. |------ DefaultValue ==> 
  139. |------ ValidationRule ==> 
  140. |------ ValidationText ==> 
  141. |------ Required ==> False
  142. |------ AllowZeroLength ==> True
  143. |------ ColumnWidth ==> -1
  144. |------ ColumnOrder ==> 0
  145. |------ ColumnHidden ==> False
  146. |------ DisplayControl ==> 109
  147. |------ IMEMode ==> 0
  148. |------ IMESentenceMode ==> 3
  149. |------ UnicodeCompression ==> False
  150. |------ GUID ==> ????????
  151. |--- BirthDate (Field in Employees)
  152. |------ Attributes ==> 1
  153. |------ CollatingOrder ==> 1033
  154. |------ Type ==> 8
  155. |------ Name ==> BirthDate
  156. |------ OrdinalPosition ==> 6
  157. |------ Size ==> 8
  158. |------ SourceField ==> BirthDate
  159. |------ SourceTable ==> Employees
  160. |------ DataUpdatable ==> False
  161. |------ DefaultValue ==> 
  162. |------ ValidationRule ==> 
  163. |------ ValidationText ==> 
  164. |------ Required ==> False
  165. |------ AllowZeroLength ==> False
  166. |------ ColumnWidth ==> -1
  167. |------ ColumnOrder ==> 0
  168. |------ ColumnHidden ==> False
  169. |------ IMEMode ==> 0
  170. |------ IMESentenceMode ==> 3
  171. |------ GUID ==> ????????
  172. |--- HireDate (Field in Employees)
  173. |------ Attributes ==> 1
  174. |------ CollatingOrder ==> 1033
  175. |------ Type ==> 8
  176. |------ Name ==> HireDate
  177. |------ OrdinalPosition ==> 7
  178. |------ Size ==> 8
  179. |------ SourceField ==> HireDate
  180. |------ SourceTable ==> Employees
  181. |------ DataUpdatable ==> False
  182. |------ DefaultValue ==> 
  183. |------ ValidationRule ==> 
  184. |------ ValidationText ==> 
  185. |------ Required ==> False
  186. |------ AllowZeroLength ==> False
  187. |------ ColumnWidth ==> -1
  188. |------ ColumnOrder ==> 0
  189. |------ ColumnHidden ==> False
  190. |------ IMEMode ==> 0
  191. |------ IMESentenceMode ==> 3
  192. |------ GUID ==> ????????
  193. |--- Address (Field in Employees)
  194. |------ Attributes ==> 2
  195. |------ CollatingOrder ==> 1033
  196. |------ Type ==> 10
  197. |------ Name ==> Address
  198. |------ OrdinalPosition ==> 8
  199. |------ Size ==> 60
  200. |------ SourceField ==> Address
  201. |------ SourceTable ==> Employees
  202. |------ DataUpdatable ==> False
  203. |------ DefaultValue ==> 
  204. |------ ValidationRule ==> 
  205. |------ ValidationText ==> 
  206. |------ Required ==> False
  207. |------ AllowZeroLength ==> True
  208. |------ ColumnWidth ==> -1
  209. |------ ColumnOrder ==> 0
  210. |------ ColumnHidden ==> False
  211. |------ DisplayControl ==> 109
  212. |------ IMEMode ==> 0
  213. |------ IMESentenceMode ==> 3
  214. |------ UnicodeCompression ==> False
  215. |------ GUID ==> ????????
  216. |--- City (Field in Employees)
  217. |------ Attributes ==> 2
  218. |------ CollatingOrder ==> 1033
  219. |------ Type ==> 10
  220. |------ Name ==> City
  221. |------ OrdinalPosition ==> 9
  222. |------ Size ==> 15
  223. |------ SourceField ==> City
  224. |------ SourceTable ==> Employees
  225. |------ DataUpdatable ==> False
  226. |------ DefaultValue ==> 
  227. |------ ValidationRule ==> 
  228. |------ ValidationText ==> 
  229. |------ Required ==> False
  230. |------ AllowZeroLength ==> True
  231. |------ ColumnWidth ==> -1
  232. |------ ColumnOrder ==> 0
  233. |------ ColumnHidden ==> False
  234. |------ DisplayControl ==> 109
  235. |------ IMEMode ==> 0
  236. |------ IMESentenceMode ==> 3
  237. |------ UnicodeCompression ==> False
  238. |------ GUID ==> ????????
  239. |--- Region (Field in Employees)
  240. |------ Attributes ==> 2
  241. |------ CollatingOrder ==> 1033
  242. |------ Type ==> 10
  243. |------ Name ==> Region
  244. |------ OrdinalPosition ==> 10
  245. |------ Size ==> 50
  246. |------ SourceField ==> Region
  247. |------ SourceTable ==> Employees
  248. |------ DataUpdatable ==> False
  249. |------ DefaultValue ==> 
  250. |------ ValidationRule ==> 
  251. |------ ValidationText ==> 
  252. |------ Required ==> False
  253. |------ AllowZeroLength ==> True
  254. |------ ColumnWidth ==> -1
  255. |------ ColumnOrder ==> 0
  256. |------ ColumnHidden ==> False
  257. |------ DisplayControl ==> 109
  258. |------ IMEMode ==> 0
  259. |------ IMESentenceMode ==> 3
  260. |------ UnicodeCompression ==> False
  261. |------ GUID ==> ????????
  262. |--- PostalCode (Field in Employees)
  263. |------ Attributes ==> 2
  264. |------ CollatingOrder ==> 1033
  265. |------ Type ==> 10
  266. |------ Name ==> PostalCode
  267. |------ OrdinalPosition ==> 11
  268. |------ Size ==> 10
  269. |------ SourceField ==> PostalCode
  270. |------ SourceTable ==> Employees
  271. |------ DataUpdatable ==> False
  272. |------ DefaultValue ==> 
  273. |------ ValidationRule ==> 
  274. |------ ValidationText ==> 
  275. |------ Required ==> False
  276. |------ AllowZeroLength ==> True
  277. |------ ColumnWidth ==> -1
  278. |------ ColumnOrder ==> 0
  279. |------ ColumnHidden ==> False
  280. |------ DisplayControl ==> 109
  281. |------ IMEMode ==> 0
  282. |------ IMESentenceMode ==> 3
  283. |------ UnicodeCompression ==> False
  284. |------ GUID ==> ????????
  285. |--- Country (Field in Employees)
  286. |------ Attributes ==> 2
  287. |------ CollatingOrder ==> 1033
  288. |------ Type ==> 10
  289. |------ Name ==> Country
  290. |------ OrdinalPosition ==> 12
  291. |------ Size ==> 15
  292. |------ SourceField ==> Country
  293. |------ SourceTable ==> Employees
  294. |------ DataUpdatable ==> False
  295. |------ DefaultValue ==> 
  296. |------ ValidationRule ==> 
  297. |------ ValidationText ==> 
  298. |------ Required ==> False
  299. |------ AllowZeroLength ==> True
  300. |------ ColumnWidth ==> -1
  301. |------ ColumnOrder ==> 0
  302. |------ ColumnHidden ==> False
  303. |------ DisplayControl ==> 109
  304. |------ IMEMode ==> 0
  305. |------ IMESentenceMode ==> 3
  306. |------ UnicodeCompression ==> False
  307. |------ GUID ==> ????????
  308. |--- HomePhone (Field in Employees)
  309. |------ Attributes ==> 2
  310. |------ CollatingOrder ==> 1033
  311. |------ Type ==> 10
  312. |------ Name ==> HomePhone
  313. |------ OrdinalPosition ==> 13
  314. |------ Size ==> 24
  315. |------ SourceField ==> HomePhone
  316. |------ SourceTable ==> Employees
  317. |------ DataUpdatable ==> False
  318. |------ DefaultValue ==> 
  319. |------ ValidationRule ==> 
  320. |------ ValidationText ==> 
  321. |------ Required ==> False
  322. |------ AllowZeroLength ==> True
  323. |------ ColumnWidth ==> -1
  324. |------ ColumnOrder ==> 0
  325. |------ ColumnHidden ==> False
  326. |------ DisplayControl ==> 109
  327. |------ IMEMode ==> 0
  328. |------ IMESentenceMode ==> 3
  329. |------ UnicodeCompression ==> False
  330. |------ GUID ==> ????????
  331. |--- Extension (Field in Employees)
  332. |------ Attributes ==> 2
  333. |------ CollatingOrder ==> 1033
  334. |------ Type ==> 10
  335. |------ Name ==> Extension
  336. |------ OrdinalPosition ==> 14
  337. |------ Size ==> 4
  338. |------ SourceField ==> Extension
  339. |------ SourceTable ==> Employees
  340. |------ DataUpdatable ==> False
  341. |------ DefaultValue ==> 
  342. |------ ValidationRule ==> 
  343. |------ ValidationText ==> 
  344. |------ Required ==> False
  345. |------ AllowZeroLength ==> True
  346. |------ ColumnWidth ==> -1
  347. |------ ColumnOrder ==> 0
  348. |------ ColumnHidden ==> False
  349. |------ DisplayControl ==> 109
  350. |------ IMEMode ==> 0
  351. |------ IMESentenceMode ==> 3
  352. |------ UnicodeCompression ==> False
  353. |------ GUID ==> ????????
  354. |--- Photo (Field in Employees)
  355. |------ Attributes ==> 2
  356. |------ CollatingOrder ==> 1033
  357. |------ Type ==> 11
  358. |------ Name ==> Photo
  359. |------ OrdinalPosition ==> 15
  360. |------ Size ==> 0
  361. |------ SourceField ==> Photo
  362. |------ SourceTable ==> Employees
  363. |------ DataUpdatable ==> False
  364. |------ DefaultValue ==> 
  365. |------ ValidationRule ==> 
  366. |------ ValidationText ==> 
  367. |------ Required ==> False
  368. |------ AllowZeroLength ==> False
  369. |------ ColumnWidth ==> -1
  370. |------ ColumnOrder ==> 0
  371. |------ ColumnHidden ==> False
  372. |------ GUID ==> ????????
  373. |--- Notes (Field in Employees)
  374. |------ Attributes ==> 2
  375. |------ CollatingOrder ==> 1033
  376. |------ Type ==> 12
  377. |------ Name ==> Notes
  378. |------ OrdinalPosition ==> 16
  379. |------ Size ==> 0
  380. |------ SourceField ==> Notes
  381. |------ SourceTable ==> Employees
  382. |------ DataUpdatable ==> False
  383. |------ DefaultValue ==> 
  384. |------ ValidationRule ==> 
  385. |------ ValidationText ==> 
  386. |------ Required ==> False
  387. |------ AllowZeroLength ==> True
  388. |------ ColumnWidth ==> -1
  389. |------ ColumnOrder ==> 0
  390. |------ ColumnHidden ==> False
  391. |------ IMEMode ==> 0
  392. |------ IMESentenceMode ==> 3
  393. |------ UnicodeCompression ==> False
  394. |------ GUID ==> ????????
  395. |--- ReportsTo (Field in Employees)
  396. |------ Attributes ==> 1
  397. |------ CollatingOrder ==> 1033
  398. |------ Type ==> 4
  399. |------ Name ==> ReportsTo
  400. |------ OrdinalPosition ==> 17
  401. |------ Size ==> 4
  402. |------ SourceField ==> ReportsTo
  403. |------ SourceTable ==> Employees
  404. |------ DataUpdatable ==> False
  405. |------ DefaultValue ==> 
  406. |------ ValidationRule ==> 
  407. |------ ValidationText ==> 
  408. |------ Required ==> False
  409. |------ AllowZeroLength ==> False
  410. |------ ColumnWidth ==> -1
  411. |------ ColumnOrder ==> 0
  412. |------ ColumnHidden ==> False
  413. |------ DecimalPlaces ==> 255
  414. |------ DisplayControl ==> 109
  415. |------ GUID ==> ????????
  416. |--- PhotoPath (Field in Employees)
  417. |------ Attributes ==> 2
  418. |------ CollatingOrder ==> 1033
  419. |------ Type ==> 10
  420. |------ Name ==> PhotoPath
  421. |------ OrdinalPosition ==> 18
  422. |------ Size ==> 255
  423. |------ SourceField ==> PhotoPath
  424. |------ SourceTable ==> Employees
  425. |------ DataUpdatable ==> False
  426. |------ DefaultValue ==> 
  427. |------ ValidationRule ==> 
  428. |------ ValidationText ==> 
  429. |------ Required ==> False
  430. |------ AllowZeroLength ==> True
  431. |------ ColumnWidth ==> -1
  432. |------ ColumnOrder ==> 0
  433. |------ ColumnHidden ==> False
  434. |------ DisplayControl ==> 109
  435. |------ IMEMode ==> 0
  436. |------ IMESentenceMode ==> 3
  437. |------ UnicodeCompression ==> False
  438. |------ GUID ==> ????????
  439. |--- SomeField (Field in Employees)
  440. |------ Attributes ==> 2
  441. |------ CollatingOrder ==> 1033
  442. |------ Type ==> 10
  443. |------ Name ==> SomeField
  444. |------ OrdinalPosition ==> 19
  445. |------ Size ==> 50
  446. |------ SourceField ==> SomeField
  447. |------ SourceTable ==> Employees
  448. |------ DataUpdatable ==> False
  449. |------ DefaultValue ==> 
  450. |------ ValidationRule ==> 
  451. |------ ValidationText ==> 
  452. |------ Required ==> False
  453. |------ AllowZeroLength ==> True
  454. |------ ColumnWidth ==> -1
  455. |------ ColumnOrder ==> 0
  456. |------ ColumnHidden ==> False
  457. |------ DisplayControl ==> 109
  458. |------ IMEMode ==> 0
  459. |------ IMESentenceMode ==> 3
  460. |------ UnicodeCompression ==> True
  461. |------ GUID ==> ?o??????
  462. |--- TimeObserved (Field in Employees)
  463. |------ Attributes ==> 1
  464. |------ CollatingOrder ==> 1033
  465. |------ Type ==> 8
  466. |------ Name ==> TimeObserved
  467. |------ OrdinalPosition ==> 20
  468. |------ Size ==> 8
  469. |------ SourceField ==> TimeObserved
  470. |------ SourceTable ==> Employees
  471. |------ DataUpdatable ==> False
  472. |------ DefaultValue ==> 
  473. |------ ValidationRule ==> 
  474. |------ ValidationText ==> 
  475. |------ Required ==> False
  476. |------ AllowZeroLength ==> False
  477. |------ ColumnWidth ==> -1
  478. |------ ColumnOrder ==> 0
  479. |------ ColumnHidden ==> False
  480. |------ IMEMode ==> 0
  481. |------ IMESentenceMode ==> 3
  482. |------ InputMask ==> 00:00;0;_
  483. |------ GUID ==> ????????
  484. |--- Full (Field in Employees)
  485. |------ Attributes ==> 2
  486. |------ CollatingOrder ==> 1033
  487. |------ Type ==> 10
  488. |------ Name ==> Full
  489. |------ OrdinalPosition ==> 21
  490. |------ Size ==> 50
  491. |------ SourceField ==> Full
  492. |------ SourceTable ==> Employees
  493. |------ DataUpdatable ==> False
  494. |------ DefaultValue ==> 
  495. |------ ValidationRule ==> 
  496. |------ ValidationText ==> 
  497. |------ Required ==> False
  498. |------ AllowZeroLength ==> True
  499. |------ ColumnWidth ==> -1
  500. |------ ColumnOrder ==> 0
  501. |------ ColumnHidden ==> False
  502. |------ DisplayControl ==> 109
  503. |------ IMEMode ==> 0
  504. |------ IMESentenceMode ==> 3
  505. |------ UnicodeCompression ==> True
  506. |------ GUID ==> ????????
  507. |--- CREW (Field in Employees)
  508. |------ Attributes ==> 2
  509. |------ CollatingOrder ==> 1033
  510. |------ Type ==> 10
  511. |------ Name ==> CREW
  512. |------ OrdinalPosition ==> 22
  513. |------ Size ==> 50
  514. |------ SourceField ==> CREW
  515. |------ SourceTable ==> Employees
  516. |------ DataUpdatable ==> False
  517. |------ DefaultValue ==> 
  518. |------ ValidationRule ==> 
  519. |------ ValidationText ==> 
  520. |------ Required ==> False
  521. |------ AllowZeroLength ==> True
  522. |------ ColumnWidth ==> -1
  523. |------ ColumnOrder ==> 0
  524. |------ ColumnHidden ==> False
  525. |------ DisplayControl ==> 109
  526. |------ IMEMode ==> 0
  527. |------ IMESentenceMode ==> 3
  528. |------ UnicodeCompression ==> True
  529. |------ GUID ==> ????????
  530. |--- File (Field in Employees)
  531. |------ Attributes ==> 32770
  532. |------ CollatingOrder ==> 1033
  533. |------ Type ==> 12
  534. |------ Name ==> File
  535. |------ OrdinalPosition ==> 23
  536. |------ Size ==> 0
  537. |------ SourceField ==> File
  538. |------ SourceTable ==> Employees
  539. |------ DataUpdatable ==> False
  540. |------ DefaultValue ==> 
  541. |------ ValidationRule ==> 
  542. |------ ValidationText ==> 
  543. |------ Required ==> False
  544. |------ AllowZeroLength ==> True
  545. |------ ColumnWidth ==> -1
  546. |------ ColumnOrder ==> 0
  547. |------ ColumnHidden ==> False
  548. |------ IMEMode ==> 0
  549. |------ IMESentenceMode ==> 3
  550. |------ UnicodeCompression ==> True
  551. |------ GUID ==> ????????
Sep 18 '07 #6
Scott Price
1,384 Expert 1GB
Yes, RobH - it can be done via VBA. I've written some simple code that will write the Properties of the Employees Table in Northwind.mdb, list all the Fields in the Employees Table along with their Properties and associated Values, to a file named Table Structure.txt in C:\. This code can be modified to include all Tables as well.


Why are you empty, my friend?? Is this what you were trying to post?

Kind regards,
Scott

Note to all, by clicking on the Reply button you can see the whole of the last post by ADezii... I'll try to add the code he posted in another Reply window.
Sep 18 '07 #7
Scott Price
1,384 Expert 1GB
Expand|Select|Wrap|Line Numbers
  1. On Error Resume Next
  2.  
  3. DoCmd.Hourglass True
  4.  
  5. Open "C:\Table Structure.txt" For Output As #1
  6.  
  7. Dim db As DAO.Database
  8. Dim tdf As DAO.TableDef
  9. Dim prp As DAO.Property, fldprp As DAO.Property
  10. Dim fld As DAO.Field
  11.  
  12. Set db = CurrentDb()
  13.  
  14. Set tdf = db.TableDefs("Employees")
  15.  
  16. For Each prp In tdf.Properties
  17.   Print #1, "|--- " & prp.Name & " ==> " & prp.Value
  18. Next prp
  19.  Print #1, "---------------------------------------------------------"
  20.     For Each fld In tdf.Fields
  21.       Print #1, "|--- " & fld.Name & " (Field in " & tdf.Name & ")"
  22.       For Each fldprp In fld.Properties
  23.         Print #1, "|------ " & fldprp.Name & " ==> " & fldprp.Value
  24.       Next
  25.     Next
  26. 'Next prp
  27.  
  28. Close #1
  29.  
  30. DoCmd.Hourglass False
Contents of Table Structure.txt:
Expand|Select|Wrap|Line Numbers
  1. |--- Name ==> Employees
  2. |--- Updatable ==> True
  3. |--- DateCreated ==> 2/2/2007 8:06:39 PM
  4. |--- LastUpdated ==> 5/22/2007 11:51:42 AM
  5. |--- Connect ==> 
  6. |--- Attributes ==> 0
  7. |--- SourceTableName ==> 
  8. |--- RecordCount ==> 16
  9. |--- ValidationRule ==> 
  10. |--- ValidationText ==> 
  11. |--- ConflictTable ==> 
  12. |--- ReplicaFilter ==> 
  13. |--- Orientation ==> 0
  14. |--- OrderByOn ==> True
  15. |--- NameMap ==> ??  ????????  ????    Employees   ???????? ????????PrimaryKey   ???????? ????????EmployeeID   ???????? ????????LastName   ???????? ????????FirstName   ???????? ????????Title   ???????? ????????TitleOfCourtesy   ???????? ????????BirthDate   ???????? ????????HireDate   ???????? ????????Address   ???????? ????????City   ???????? ????????Region   ???????? ????????PostalCode   ???????? ????????Country   ???????? ????????HomePhone   ???????? ????????Extension   ???????? ????????Photo   ???????? ????????Notes   ???????? ????????ReportsTo   ???????? ????????PhotoPath   ?o?????? ????????SomeField   ???????? ????????TimeObserved   ???????? ????????Full   ???????? ????????CREW   ???????? ????????File                     
  16. |--- DefaultView ==> 2
  17. |--- GUID ==> ????????
  18. ---------------------------------------------------------
  19. |--- PrimaryKey (Field in Employees)
  20. |------ Attributes ==> 17
  21. |------ CollatingOrder ==> 1033
  22. |------ Type ==> 4
  23. |------ Name ==> PrimaryKey
  24. |------ OrdinalPosition ==> 0
  25. |------ Size ==> 4
  26. |------ SourceField ==> PrimaryKey
  27. |------ SourceTable ==> Employees
  28. |------ DataUpdatable ==> False
  29. |------ DefaultValue ==> 
  30. |------ ValidationRule ==> 
  31. |------ ValidationText ==> 
  32. |------ Required ==> False
  33. |------ AllowZeroLength ==> False
  34. |------ ColumnWidth ==> -1
  35. |------ ColumnOrder ==> 0
  36. |------ ColumnHidden ==> False
  37. |------ GUID ==> ????????
  38. |--- EmployeeID (Field in Employees)
  39. |------ Attributes ==> 1
  40. |------ CollatingOrder ==> 1033
  41. |------ Type ==> 4
  42. |------ Name ==> EmployeeID
  43. |------ OrdinalPosition ==> 1
  44. |------ Size ==> 4
  45. |------ SourceField ==> EmployeeID
  46. |------ SourceTable ==> Employees
  47. |------ DataUpdatable ==> False
  48. |------ DefaultValue ==> 
  49. |------ ValidationRule ==> 
  50. |------ ValidationText ==> 
  51. |------ Required ==> True
  52. |------ AllowZeroLength ==> False
  53. |------ ColumnWidth ==> -1
  54. |------ ColumnOrder ==> 0
  55. |------ ColumnHidden ==> False
  56. |------ DecimalPlaces ==> 255
  57. |------ DisplayControl ==> 109
  58. |------ GUID ==> ????????
  59. |--- LastName (Field in Employees)
  60. |------ Attributes ==> 2
  61. |------ CollatingOrder ==> 1033
  62. |------ Type ==> 10
  63. |------ Name ==> LastName
  64. |------ OrdinalPosition ==> 2
  65. |------ Size ==> 20
  66. |------ SourceField ==> LastName
  67. |------ SourceTable ==> Employees
  68. |------ DataUpdatable ==> False
  69. |------ DefaultValue ==> 
  70. |------ ValidationRule ==> 
  71. |------ ValidationText ==> 
  72. |------ Required ==> True
  73. |------ AllowZeroLength ==> True
  74. |------ ColumnWidth ==> 3180
  75. |------ ColumnOrder ==> 0
  76. |------ ColumnHidden ==> False
  77. |------ DisplayControl ==> 109
  78. |------ IMEMode ==> 0
  79. |------ IMESentenceMode ==> 3
  80. |------ UnicodeCompression ==> False
  81. |------ GUID ==> ????????
  82. |--- FirstName (Field in Employees)
  83. |------ Attributes ==> 2
  84. |------ CollatingOrder ==> 1033
  85. |------ Type ==> 10
  86. |------ Name ==> FirstName
  87. |------ OrdinalPosition ==> 3
  88. |------ Size ==> 10
  89. |------ SourceField ==> FirstName
  90. |------ SourceTable ==> Employees
  91. |------ DataUpdatable ==> False
  92. |------ DefaultValue ==> 
  93. |------ ValidationRule ==> 
  94. |------ ValidationText ==> 
  95. |------ Required ==> True
  96. |------ AllowZeroLength ==> True
  97. |------ ColumnWidth ==> -1
  98. |------ ColumnOrder ==> 0
  99. |------ ColumnHidden ==> False
  100. |------ DisplayControl ==> 109
  101. |------ IMEMode ==> 0
  102. |------ IMESentenceMode ==> 3
  103. |------ UnicodeCompression ==> False
  104. |------ GUID ==> ????????
  105. |--- Title (Field in Employees)
  106. |------ Attributes ==> 2
  107. |------ CollatingOrder ==> 1033
  108. |------ Type ==> 10
  109. |------ Name ==> Title
  110. |------ OrdinalPosition ==> 4
  111. |------ Size ==> 30
  112. |------ SourceField ==> Title
  113. |------ SourceTable ==> Employees
  114. |------ DataUpdatable ==> False
  115. |------ DefaultValue ==> 
  116. |------ ValidationRule ==> 
  117. |------ ValidationText ==> 
  118. |------ Required ==> False
  119. |------ AllowZeroLength ==> True
  120. |------ ColumnWidth ==> -1
  121. |------ ColumnOrder ==> 0
  122. |------ ColumnHidden ==> False
  123. |------ DisplayControl ==> 109
  124. |------ IMEMode ==> 0
  125. |------ IMESentenceMode ==> 3
  126. |------ UnicodeCompression ==> False
  127. |------ GUID ==> ????????
  128. |--- TitleOfCourtesy (Field in Employees)
  129. |------ Attributes ==> 2
  130. |------ CollatingOrder ==> 1033
  131. |------ Type ==> 10
  132. |------ Name ==> TitleOfCourtesy
  133. |------ OrdinalPosition ==> 5
  134. |------ Size ==> 25
  135. |------ SourceField ==> TitleOfCourtesy
  136. |------ SourceTable ==> Employees
  137. |------ DataUpdatable ==> False
  138. |------ DefaultValue ==> 
  139. |------ ValidationRule ==> 
  140. |------ ValidationText ==> 
  141. |------ Required ==> False
  142. |------ AllowZeroLength ==> True
  143. |------ ColumnWidth ==> -1
  144. |------ ColumnOrder ==> 0
  145. |------ ColumnHidden ==> False
  146. |------ DisplayControl ==> 109
  147. |------ IMEMode ==> 0
  148. |------ IMESentenceMode ==> 3
  149. |------ UnicodeCompression ==> False
  150. |------ GUID ==> ????????
  151. |--- BirthDate (Field in Employees)
  152. |------ Attributes ==> 1
  153. |------ CollatingOrder ==> 1033
  154. |------ Type ==> 8
  155. |------ Name ==> BirthDate
  156. |------ OrdinalPosition ==> 6
  157. |------ Size ==> 8
  158. |------ SourceField ==> BirthDate
  159. |------ SourceTable ==> Employees
  160. |------ DataUpdatable ==> False
  161. |------ DefaultValue ==> 
  162. |------ ValidationRule ==> 
  163. |------ ValidationText ==> 
  164. |------ Required ==> False
  165. |------ AllowZeroLength ==> False
  166. |------ ColumnWidth ==> -1
  167. |------ ColumnOrder ==> 0
  168. |------ ColumnHidden ==> False
  169. |------ IMEMode ==> 0
  170. |------ IMESentenceMode ==> 3
  171. |------ GUID ==> ????????
  172. |--- HireDate (Field in Employees)
  173. |------ Attributes ==> 1
  174. |------ CollatingOrder ==> 1033
  175. |------ Type ==> 8
  176. |------ Name ==> HireDate
  177. |------ OrdinalPosition ==> 7
  178. |------ Size ==> 8
  179. |------ SourceField ==> HireDate
  180. |------ SourceTable ==> Employees
  181. |------ DataUpdatable ==> False
  182. |------ DefaultValue ==> 
  183. |------ ValidationRule ==> 
  184. |------ ValidationText ==> 
  185. |------ Required ==> False
  186. |------ AllowZeroLength ==> False
  187. |------ ColumnWidth ==> -1
  188. |------ ColumnOrder ==> 0
  189. |------ ColumnHidden ==> False
  190. |------ IMEMode ==> 0
  191. |------ IMESentenceMode ==> 3
  192. |------ GUID ==> ????????
  193. |--- Address (Field in Employees)
  194. |------ Attributes ==> 2
  195. |------ CollatingOrder ==> 1033
  196. |------ Type ==> 10
  197. |------ Name ==> Address
  198. |------ OrdinalPosition ==> 8
  199. |------ Size ==> 60
  200. |------ SourceField ==> Address
  201. |------ SourceTable ==> Employees
  202. |------ DataUpdatable ==> False
  203. |------ DefaultValue ==> 
  204. |------ ValidationRule ==> 
  205. |------ ValidationText ==> 
  206. |------ Required ==> False
  207. |------ AllowZeroLength ==> True
  208. |------ ColumnWidth ==> -1
  209. |------ ColumnOrder ==> 0
  210. |------ ColumnHidden ==> False
  211. |------ DisplayControl ==> 109
  212. |------ IMEMode ==> 0
  213. |------ IMESentenceMode ==> 3
  214. |------ UnicodeCompression ==> False
  215. |------ GUID ==> ????????
  216. |--- City (Field in Employees)
  217. |------ Attributes ==> 2
  218. |------ CollatingOrder ==> 1033
  219. |------ Type ==> 10
  220. |------ Name ==> City
  221. |------ OrdinalPosition ==> 9
  222. |------ Size ==> 15
  223. |------ SourceField ==> City
  224. |------ SourceTable ==> Employees
  225. |------ DataUpdatable ==> False
  226. |------ DefaultValue ==> 
  227. |------ ValidationRule ==> 
  228. |------ ValidationText ==> 
  229. |------ Required ==> False
  230. |------ AllowZeroLength ==> True
  231. |------ ColumnWidth ==> -1
  232. |------ ColumnOrder ==> 0
  233. |------ ColumnHidden ==> False
  234. |------ DisplayControl ==> 109
  235. |------ IMEMode ==> 0
  236. |------ IMESentenceMode ==> 3
  237. |------ UnicodeCompression ==> False
  238. |------ GUID ==> ????????
  239.  
Sep 18 '07 #8
Scott Price
1,384 Expert 1GB
Expand|Select|Wrap|Line Numbers
  1. |--- Region (Field in Employees)
  2. |------ Attributes ==> 2
  3. |------ CollatingOrder ==> 1033
  4. |------ Type ==> 10
  5. |------ Name ==> Region
  6. |------ OrdinalPosition ==> 10
  7. |------ Size ==> 50
  8. |------ SourceField ==> Region
  9. |------ SourceTable ==> Employees
  10. |------ DataUpdatable ==> False
  11. |------ DefaultValue ==> 
  12. |------ ValidationRule ==> 
  13. |------ ValidationText ==> 
  14. |------ Required ==> False
  15. |------ AllowZeroLength ==> True
  16. |------ ColumnWidth ==> -1
  17. |------ ColumnOrder ==> 0
  18. |------ ColumnHidden ==> False
  19. |------ DisplayControl ==> 109
  20. |------ IMEMode ==> 0
  21. |------ IMESentenceMode ==> 3
  22. |------ UnicodeCompression ==> False
  23. |------ GUID ==> ????????
  24. |--- PostalCode (Field in Employees)
  25. |------ Attributes ==> 2
  26. |------ CollatingOrder ==> 1033
  27. |------ Type ==> 10
  28. |------ Name ==> PostalCode
  29. |------ OrdinalPosition ==> 11
  30. |------ Size ==> 10
  31. |------ SourceField ==> PostalCode
  32. |------ SourceTable ==> Employees
  33. |------ DataUpdatable ==> False
  34. |------ DefaultValue ==> 
  35. |------ ValidationRule ==> 
  36. |------ ValidationText ==> 
  37. |------ Required ==> False
  38. |------ AllowZeroLength ==> True
  39. |------ ColumnWidth ==> -1
  40. |------ ColumnOrder ==> 0
  41. |------ ColumnHidden ==> False
  42. |------ DisplayControl ==> 109
  43. |------ IMEMode ==> 0
  44. |------ IMESentenceMode ==> 3
  45. |------ UnicodeCompression ==> False
  46. |------ GUID ==> ????????
  47. |--- Country (Field in Employees)
  48. |------ Attributes ==> 2
  49. |------ CollatingOrder ==> 1033
  50. |------ Type ==> 10
  51. |------ Name ==> Country
  52. |------ OrdinalPosition ==> 12
  53. |------ Size ==> 15
  54. |------ SourceField ==> Country
  55. |------ SourceTable ==> Employees
  56. |------ DataUpdatable ==> False
  57. |------ DefaultValue ==> 
  58. |------ ValidationRule ==> 
  59. |------ ValidationText ==> 
  60. |------ Required ==> False
  61. |------ AllowZeroLength ==> True
  62. |------ ColumnWidth ==> -1
  63. |------ ColumnOrder ==> 0
  64. |------ ColumnHidden ==> False
  65. |------ DisplayControl ==> 109
  66. |------ IMEMode ==> 0
  67. |------ IMESentenceMode ==> 3
  68. |------ UnicodeCompression ==> False
  69. |------ GUID ==> ????????
  70. |--- HomePhone (Field in Employees)
  71. |------ Attributes ==> 2
  72. |------ CollatingOrder ==> 1033
  73. |------ Type ==> 10
  74. |------ Name ==> HomePhone
  75. |------ OrdinalPosition ==> 13
  76. |------ Size ==> 24
  77. |------ SourceField ==> HomePhone
  78. |------ SourceTable ==> Employees
  79. |------ DataUpdatable ==> False
  80. |------ DefaultValue ==> 
  81. |------ ValidationRule ==> 
  82. |------ ValidationText ==> 
  83. |------ Required ==> False
  84. |------ AllowZeroLength ==> True
  85. |------ ColumnWidth ==> -1
  86. |------ ColumnOrder ==> 0
  87. |------ ColumnHidden ==> False
  88. |------ DisplayControl ==> 109
  89. |------ IMEMode ==> 0
  90. |------ IMESentenceMode ==> 3
  91. |------ UnicodeCompression ==> False
  92. |------ GUID ==> ????????
  93. |--- Extension (Field in Employees)
  94. |------ Attributes ==> 2
  95. |------ CollatingOrder ==> 1033
  96. |------ Type ==> 10
  97. |------ Name ==> Extension
  98. |------ OrdinalPosition ==> 14
  99. |------ Size ==> 4
  100. |------ SourceField ==> Extension
  101. |------ SourceTable ==> Employees
  102. |------ DataUpdatable ==> False
  103. |------ DefaultValue ==> 
  104. |------ ValidationRule ==> 
  105. |------ ValidationText ==> 
  106. |------ Required ==> False
  107. |------ AllowZeroLength ==> True
  108. |------ ColumnWidth ==> -1
  109. |------ ColumnOrder ==> 0
  110. |------ ColumnHidden ==> False
  111. |------ DisplayControl ==> 109
  112. |------ IMEMode ==> 0
  113. |------ IMESentenceMode ==> 3
  114. |------ UnicodeCompression ==> False
  115. |------ GUID ==> ????????
  116. |--- Photo (Field in Employees)
  117. |------ Attributes ==> 2
  118. |------ CollatingOrder ==> 1033
  119. |------ Type ==> 11
  120. |------ Name ==> Photo
  121. |------ OrdinalPosition ==> 15
  122. |------ Size ==> 0
  123. |------ SourceField ==> Photo
  124. |------ SourceTable ==> Employees
  125. |------ DataUpdatable ==> False
  126. |------ DefaultValue ==> 
  127. |------ ValidationRule ==> 
  128. |------ ValidationText ==> 
  129. |------ Required ==> False
  130. |------ AllowZeroLength ==> False
  131. |------ ColumnWidth ==> -1
  132. |------ ColumnOrder ==> 0
  133. |------ ColumnHidden ==> False
  134. |------ GUID ==> ????????
  135. |--- Notes (Field in Employees)
  136. |------ Attributes ==> 2
  137. |------ CollatingOrder ==> 1033
  138. |------ Type ==> 12
  139. |------ Name ==> Notes
  140. |------ OrdinalPosition ==> 16
  141. |------ Size ==> 0
  142. |------ SourceField ==> Notes
  143. |------ SourceTable ==> Employees
  144. |------ DataUpdatable ==> False
  145. |------ DefaultValue ==> 
  146. |------ ValidationRule ==> 
  147. |------ ValidationText ==> 
  148. |------ Required ==> False
  149. |------ AllowZeroLength ==> True
  150. |------ ColumnWidth ==> -1
  151. |------ ColumnOrder ==> 0
  152. |------ ColumnHidden ==> False
  153. |------ IMEMode ==> 0
  154. |------ IMESentenceMode ==> 3
  155. |------ UnicodeCompression ==> False
  156. |------ GUID ==> ????????
  157. |--- ReportsTo (Field in Employees)
  158. |------ Attributes ==> 1
  159. |------ CollatingOrder ==> 1033
  160. |------ Type ==> 4
  161. |------ Name ==> ReportsTo
  162. |------ OrdinalPosition ==> 17
  163. |------ Size ==> 4
  164. |------ SourceField ==> ReportsTo
  165. |------ SourceTable ==> Employees
  166. |------ DataUpdatable ==> False
  167. |------ DefaultValue ==> 
  168. |------ ValidationRule ==> 
  169. |------ ValidationText ==> 
  170. |------ Required ==> False
  171. |------ AllowZeroLength ==> False
  172. |------ ColumnWidth ==> -1
  173. |------ ColumnOrder ==> 0
  174. |------ ColumnHidden ==> False
  175. |------ DecimalPlaces ==> 255
  176. |------ DisplayControl ==> 109
  177. |------ GUID ==> ????????
  178. |--- PhotoPath (Field in Employees)
  179. |------ Attributes ==> 2
  180. |------ CollatingOrder ==> 1033
  181. |------ Type ==> 10
  182. |------ Name ==> PhotoPath
  183. |------ OrdinalPosition ==> 18
  184. |------ Size ==> 255
  185. |------ SourceField ==> PhotoPath
  186. |------ SourceTable ==> Employees
  187. |------ DataUpdatable ==> False
  188. |------ DefaultValue ==> 
  189. |------ ValidationRule ==> 
  190. |------ ValidationText ==> 
  191. |------ Required ==> False
  192. |------ AllowZeroLength ==> True
  193. |------ ColumnWidth ==> -1
  194. |------ ColumnOrder ==> 0
  195. |------ ColumnHidden ==> False
  196. |------ DisplayControl ==> 109
  197. |------ IMEMode ==> 0
  198. |------ IMESentenceMode ==> 3
  199. |------ UnicodeCompression ==> False
  200. |------ GUID ==> ????????
  201. |--- SomeField (Field in Employees)
  202. |------ Attributes ==> 2
  203. |------ CollatingOrder ==> 1033
  204. |------ Type ==> 10
  205. |------ Name ==> SomeField
  206. |------ OrdinalPosition ==> 19
  207. |------ Size ==> 50
  208. |------ SourceField ==> SomeField
  209. |------ SourceTable ==> Employees
  210. |------ DataUpdatable ==> False
  211. |------ DefaultValue ==> 
  212. |------ ValidationRule ==> 
  213. |------ ValidationText ==> 
  214. |------ Required ==> False
  215. |------ AllowZeroLength ==> True
  216. |------ ColumnWidth ==> -1
  217. |------ ColumnOrder ==> 0
  218. |------ ColumnHidden ==> False
  219. |------ DisplayControl ==> 109
  220. |------ IMEMode ==> 0
  221. |------ IMESentenceMode ==> 3
  222. |------ UnicodeCompression ==> True
  223. |------ GUID ==> ?o??????
  224. |--- TimeObserved (Field in Employees)
  225. |------ Attributes ==> 1
  226. |------ CollatingOrder ==> 1033
  227. |------ Type ==> 8
  228. |------ Name ==> TimeObserved
  229. |------ OrdinalPosition ==> 20
  230. |------ Size ==> 8
  231. |------ SourceField ==> TimeObserved
  232. |------ SourceTable ==> Employees
  233. |------ DataUpdatable ==> False
  234. |------ DefaultValue ==> 
  235. |------ ValidationRule ==> 
  236. |------ ValidationText ==> 
  237. |------ Required ==> False
  238. |------ AllowZeroLength ==> False
  239. |------ ColumnWidth ==> -1
  240. |------ ColumnOrder ==> 0
  241. |------ ColumnHidden ==> False
  242. |------ IMEMode ==> 0
  243. |------ IMESentenceMode ==> 3
  244. |------ InputMask ==> 00:00;0;_
  245. |------ GUID ==> ????????
  246. |--- Full (Field in Employees)
  247. |------ Attributes ==> 2
  248. |------ CollatingOrder ==> 1033
  249. |------ Type ==> 10
  250. |------ Name ==> Full
  251. |------ OrdinalPosition ==> 21
  252. |------ Size ==> 50
  253. |------ SourceField ==> Full
  254. |------ SourceTable ==> Employees
  255. |------ DataUpdatable ==> False
  256. |------ DefaultValue ==> 
  257. |------ ValidationRule ==> 
  258. |------ ValidationText ==> 
  259. |------ Required ==> False
  260. |------ AllowZeroLength ==> True
  261. |------ ColumnWidth ==> -1
  262. |------ ColumnOrder ==> 0
  263. |------ ColumnHidden ==> False
  264. |------ DisplayControl ==> 109
  265. |------ IMEMode ==> 0
  266. |------ IMESentenceMode ==> 3
  267. |------ UnicodeCompression ==> True
  268. |------ GUID ==> ????????
  269. |--- CREW (Field in Employees)
  270. |------ Attributes ==> 2
  271. |------ CollatingOrder ==> 1033
  272. |------ Type ==> 10
  273. |------ Name ==> CREW
  274. |------ OrdinalPosition ==> 22
  275. |------ Size ==> 50
  276. |------ SourceField ==> CREW
  277. |------ SourceTable ==> Employees
  278. |------ DataUpdatable ==> False
  279. |------ DefaultValue ==> 
  280. |------ ValidationRule ==> 
  281. |------ ValidationText ==> 
  282. |------ Required ==> False
  283. |------ AllowZeroLength ==> True
  284. |------ ColumnWidth ==> -1
  285. |------ ColumnOrder ==> 0
  286. |------ ColumnHidden ==> False
  287. |------ DisplayControl ==> 109
  288. |------ IMEMode ==> 0
  289. |------ IMESentenceMode ==> 3
  290. |------ UnicodeCompression ==> True
  291. |------ GUID ==> ????????
  292. |--- File (Field in Employees)
  293. |------ Attributes ==> 32770
  294. |------ CollatingOrder ==> 1033
  295. |------ Type ==> 12
  296. |------ Name ==> File
  297. |------ OrdinalPosition ==> 23
  298. |------ Size ==> 0
  299. |------ SourceField ==> File
  300. |------ SourceTable ==> Employees
  301. |------ DataUpdatable ==> False
  302. |------ DefaultValue ==> 
  303. |------ ValidationRule ==> 
  304. |------ ValidationText ==> 
  305. |------ Required ==> False
  306. |------ AllowZeroLength ==> True
  307. |------ ColumnWidth ==> -1
  308. |------ ColumnOrder ==> 0
  309. |------ ColumnHidden ==> False
  310. |------ IMEMode ==> 0
  311. |------ IMESentenceMode ==> 3
  312. |------ UnicodeCompression ==> True
  313. |------ GUID ==> ????????
Apparently the original was too long, this code section is broken in two sections...

Regards,
Scott
Sep 18 '07 #9
ADezii
8,834 Expert 8TB
Why are you empty, my friend?? Is this what you were trying to post?

Kind regards,
Scott

Note to all, by clicking on the Reply button you can see the whole of the last post by ADezii... I'll try to add the code he posted in another Reply window.
Thanks a million, Scott! There's nothing quite like taking the time to arrive at a viable solution to a problem, then being unable to Post it. I'll make sure Mary gives you both a Save and an Assist on this one. (LOL). Thanks again - I'm known as the 'Man of Few Words' but this was ridiculous.
Sep 18 '07 #10
Scott Price
1,384 Expert 1GB
Thanks a million, Scott! There's nothing quite like taking the time to arrive at a viable solution to a problem, then being unable to Post it. I'll make sure Mary gives you both a Save and an Assist on this one. (LOL). Thanks again - I'm known as the 'Man of Few Words' but this was ridiculous.
Nothing quite so frustrating!! I've had it happen to me before without warning... Still not sure why it happens each time, but I think this one was just length.

Regards,
Scott
Sep 18 '07 #11
ADezii
8,834 Expert 8TB
Nothing quite so frustrating!! I've had it happen to me before without warning... Still not sure why it happens each time, but I think this one was just length.

Regards,
Scott
I did ask Mary regarding this matter and her response is listed below.
http://www.thescripts.com/forum/priv...wpm&pmid=45464
Sep 18 '07 #12
RobH
56
Thanks for the detail.. But... I was actually wanting something much simpler -

Something that would out put more like,

Field Name, Type, Description
EID, Number, Employee Staff ID Number
SD,Date, Employee Start Date

Something that gives me an easy ready reference to my table structures
Sep 18 '07 #13
ADezii
8,834 Expert 8TB
Thanks for the detail.. But... I was actually wanting something much simpler -

Something that would out put more like,

Field Name, Type, Description
EID, Number, Employee Staff ID Number
SD,Date, Employee Start Date

Something that gives me an easy ready reference to my table structures
The code I gave you is comprehensive, and covers a lot of area. What exactly are you looking for, Table Names along with Field Names, their Types and Descriptions? The code previously listed can easily be reduced to provide that information.
Sep 18 '07 #14
MMcCarthy
14,534 Expert Mod 8TB
I did ask Mary regarding this matter and her response is listed below.
http://www.thescripts.com/forum/priv...wpm&pmid=45464
I've deleted the other thread.
Sep 18 '07 #15

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Priscilla Walther | last post by:
Hi All - I'm a newbie to the database area, but have inherited a MySQL database to manage along with my development duties. We have a very large MySQL database, and the designer of the...
0
by: QWERTY | last post by:
--------------Boundary-00=_O5I3QL80000000000000 Content-Type: Multipart/Alternative; boundary="------------Boundary-00=_O5I3LVC0000000000000" --------------Boundary-00=_O5I3LVC0000000000000...
0
by: Randall Sell | last post by:
Hello all, I am migrating a Paradox application to SQL Server. My problem is that the existing Paradox table structure is limited. Correcting it will mean a re-write of the application (Delphi...
4
by: Robert Stearns | last post by:
For testing purposes I propose to add a schema (testing, how original) and would like to copy some of my live tables to it, both structure and data. I know I could use something like dump/restore...
3
by: ChadDiesel | last post by:
Hello everyone. I need some advice on table structure for a new project I've been given. One of our customers sends us an Excel spreadsheet each week containing their order. Currently, someone...
5
by: rAinDeEr | last post by:
Hi, Can any one show me a sample create table structure for storing .BMP's and .GIF images. togther with its description. Thanks in advance, rAinDeEr
1
by: learning_codes | last post by:
Hi , I'm wondering if there is a way for me to export some tables including data and structure from old database to a new database and then save as new database name. I try to create a marco...
3
by: visu | last post by:
Hi , can anyone tell me how to get the complete table schema including constraints, primary key ..etc. through sql Query in Ms access. We can get table information in MS SQL Server by means...
16
mikek12004
by: mikek12004 | last post by:
How to copy a table (with the data) from one server to another (the two servers are in different PCs)? Basically if I could move the data to a txt file inthe form of the insert command (like the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.