home *** CD-ROM | disk | FTP | other *** search
/ Eagles Nest BBS 8 / Eagles_Nest_Mac_Collection_Disc_8.TOAST / Developer Environments / TurPasDBTlbx / TP-Database Toolbox / SetConst source / SetConst.r < prev   
Encoding:
Text File  |  1987-12-11  |  3.1 KB  |  234 lines  |  [TEXT/TPAS]

  1. SetConst.rsrc
  2.  
  3.  
  4. Type DITL
  5.  
  6.      ,18007
  7. 3
  8. *   1
  9. BtnItem Enabled
  10. 155 28 175 126
  11. Use Defaults
  12.  
  13. *   2
  14. BtnItem Enabled
  15. 155 160 175 241
  16. Experiment
  17.  
  18. *   3
  19. StatText Disabled
  20. 9 14 138 280
  21. You can set  constants that affect the search speed as well as the memory and disk requirements of the Turbo Access System.  \0D\0DYou can use the Default values  which provide good performance or experiment. 
  22.  
  23.      ,29973
  24. 2
  25. *   1
  26. BtnItem Enabled
  27. 108 137 128 197
  28. Ok
  29.  
  30. *   2
  31. StatText Disabled
  32. 13 23 95 341
  33. Bring TAccess.unit into the Turbo editor and set the include directive in the beginning of the file to:\0D       {$I ^0}\0Dand compile the Turbo Access unit.
  34.  
  35.  
  36. type DLOG 
  37.     ,16882 (16640)
  38. New Dialog
  39. 82 116 268 400
  40. Visible NoGoAway
  41. 9
  42. 0
  43. 18007
  44.      ,27861
  45. New Dialog
  46. 80 70 210 436
  47. Visible GoAway
  48. 9
  49. 0
  50. 29973
  51.  
  52. type STR
  53.   ,1000(4)
  54. Sample.const
  55.  
  56. type STR
  57.   ,1001(4)
  58.                             Turbo Access Constants WorkSheet
  59. type STR
  60.   ,1002(4)
  61.                             Turbo Access Configuration Program
  62.  
  63. type ALRT 
  64.     ,20147 (19968)
  65. 178 66 274 404
  66. 22791
  67. DDDD
  68.  
  69. type DITL 
  70.     ,22791
  71. 2
  72. staticText disabled 
  73. 10 81 63 316
  74. The Page Stack is greater than 32K bytes.  Reduce your Page Size and/or Page Stack Size.
  75.  
  76. button 
  77. 69 128 89 188
  78. OK
  79.  
  80. type ALRT 
  81.     ,10130 (9984)
  82. 68 70 164 398
  83. 22793
  84. DDDD
  85.  
  86. type DITL 
  87.     ,22793 (22784)
  88. 2
  89. staticText disabled 
  90. 10 61 63 296
  91. The Maximum records must be greater than 0.
  92.  
  93. button 
  94. 69 128 89 188
  95. OK
  96.  
  97. type ALRT 
  98.     ,24839 (24832)
  99. 146 66 242 394
  100. 22792
  101. DDDD
  102.  
  103. type DITL 
  104.     ,22792 (22784)
  105. 2
  106. staticText disabled 
  107. 10 61 63 296
  108. The Page Size must be an even number between 4 and 254.
  109.  
  110. button 
  111. 69 128 89 188
  112. OK
  113.  
  114. type ALRT 
  115.     ,31164 (30976)
  116. 172 92 266 376
  117. 30818
  118. DDDD
  119.  
  120. type DITL 
  121.     ,30818 (30720)
  122. 2
  123. staticText disabled 
  124. 10 61 43 277
  125. The Page Stack Size must be between 3 and 254.
  126.  
  127. button 
  128. 59 121 79 181
  129. OK
  130.  
  131. type DLOG 
  132.     ,24135 (24064)
  133. New Dialog
  134. 32 14 330 498
  135. Visible GoAway
  136. 5
  137. 0
  138. 3440
  139.  
  140. type DITL 
  141.     ,3440
  142. 23
  143. button 
  144. 263 340 283 420
  145. Calculate
  146.  
  147. button 
  148. 263 206 283 266
  149. Quit
  150.  
  151. button 
  152. 263 63 283 133
  153. Defaults
  154.  
  155. editText 
  156. 5 367 21 417
  157. MaxRec
  158.  
  159. editText 
  160. 87 392 103 417
  161. Page Size 
  162.  
  163. editText 
  164. 113 392 129 417
  165. Page Stack
  166.  
  167. staticText disabled 
  168. 30 334 46 441
  169. Data Size
  170.  
  171. staticText disabled 
  172. 56 334 72 441
  173. Index Size
  174.  
  175. staticText disabled 
  176. 146 357 162 419
  177. 32767
  178.  
  179. staticText disabled 
  180. 173 387 189 419
  181. 8.88
  182.  
  183. staticText disabled 
  184. 200 380 216 434
  185. 88.88 %
  186.  
  187. staticText disabled 
  188. 225 380 241 434
  189. 88.88 %
  190.  
  191. staticText disabled 
  192. 30 53 46 232
  193. Max. Record Size  ^0                         
  194.  
  195. staticText disabled 
  196. 56 53 72 232
  197. Max. Key Length   ^1                           
  198.  
  199. staticText disabled 
  200. 5 53 21 337
  201. Estimated total records in the Database
  202.  
  203. staticText disabled 
  204. 87 53 103 377
  205. Page Size - Max. number of keys on a page
  206.  
  207. staticText disabled 
  208. 113 53 129 377
  209. Page Stack Size -  Max.  pages in memory
  210.  
  211. staticText disabled 
  212. 30 233 46 333
  213. Data File Size
  214.  
  215. staticText disabled 
  216. 56 233 72 333
  217. Index File Size      
  218.  
  219. staticText disabled 
  220. 146 53 162 348
  221. Page Stack memory requirements      
  222.  
  223. staticText disabled 
  224. 174 53 190 364
  225. Avg. comparisons in a key search
  226.  
  227. staticText disabled 
  228. 200 53 216 358
  229. Searches satisfied in memory
  230.  
  231. staticText disabled 
  232. 226 53 242 358
  233. Disk searches needed
  234.