home *** CD-ROM | disk | FTP | other *** search
/ Datatid 1999 #6 / Datatid_1999-06.iso / internet / Tango352Promo / P.SQL / PTKPKG.1 / OS2MAINT.HLP (.txt) < prev    next >
Encoding:
OS/2 Help File  |  1998-09-30  |  20.9 KB  |  766 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Information Editor Dialog ΓòÉΓòÉΓòÉ
  3.  
  4. The Information Editor Window allows the user to easily enter, edit, and view 
  5. MicroKernel file and key information.  Once complete, the information can be 
  6. used to create MicroKernel-compatible files, indexes, and description files. 
  7. The information in the window is grouped into three sets of controls. 
  8.  
  9. File Specification 
  10. Attributes of a MicroKernel-compatible file related to file and record 
  11. structure, number of keys, data compression, etc... 
  12.  
  13. Key Specification 
  14. Attributes of a MicroKernel-compatible file related to a specific key or a 
  15. segment within a key. 
  16.  
  17. Miscellaneous File Information 
  18. Information about the MicroKernel or description file not part of the file or 
  19. key specifications. 
  20.  
  21. Much of the information in the editor is interrelated. These relationships are 
  22. often indicated by enabling or disabling controls. This approach not only helps 
  23. the user understand the relationships between the various MicroKernel file and 
  24. key attributes; it also helps to prevent the user from entering inconsistent 
  25. information. 
  26.  
  27. Here are a few examples: 
  28.  
  29. All  key and segment controls (except the create key button) are disabled if no 
  30. key or key segment is selected. 
  31.  
  32. The Blank Truncation control is disabled unless the Variable Records control is 
  33. checked. 
  34.  
  35. The ACS information  button is disabled unless the current segment's Use ACS 
  36. control is checked. 
  37.  
  38. Related Topics 
  39.  
  40. o Description Comments Dialog 
  41. o Alternate Collating Sequence Information Dialog 
  42. o Create File Dialog Panel 
  43.  
  44.  
  45. ΓòÉΓòÉΓòÉ 2. Description Comments Dialog ΓòÉΓòÉΓòÉ
  46.  
  47. This dialog is accessed from the Information Editor Dialog. It allows you to 
  48. enter, edit, or view description file comments. 
  49.  
  50. Description Edit Control 
  51.                A multiline edit control. Enter the comment you wish to save in 
  52.                the description file. 
  53.  
  54. OK Button 
  55.                Closes dialog and saves any changes. 
  56.  
  57. Cancel Button 
  58.                Closes the dialog and does not save any changes. 
  59.  
  60.  
  61. ΓòÉΓòÉΓòÉ 3. Create Stat Report Dialog ΓòÉΓòÉΓòÉ
  62.  
  63. This dialog is a file browse dialog which allows you to specify the name of the 
  64. report file to create. You can also choose to view the report file after it has 
  65. been created. Below is a description of each of the dialog's controls. 
  66.  
  67. Data File 
  68.                Specifies the name of the MicroKernel-compatible file for which 
  69.                you want to create a report. 
  70.  
  71. File Name 
  72.                Specifies the name of the report file to create. 
  73.  
  74. View Report 
  75.                When this control is checked, the report file will be displayed 
  76.                in a window after it has been created. 
  77.  
  78. OK Button 
  79.                Creates the report file. 
  80.  
  81. Cancel Button 
  82.                Closes the dialog without creating a report file. 
  83.  
  84.  
  85. ΓòÉΓòÉΓòÉ 4. Create Index Dialog ΓòÉΓòÉΓòÉ
  86.  
  87. This dialog allows the user to create Btrieve indexes. 
  88.  
  89. The type of index that can be created depends on the current state of the 
  90. MicroKernel-compatible file's log key. 
  91.  
  92. If the log key is the system-defined key, and the system-defined key is 
  93. present, you can not create a system-defined key. 
  94.  
  95. If the log key is the system-defined key and it has been dropped, you can 
  96. create the system-defined key. In this case, `SYSKEY' will appear in the Key 
  97. Number to Use for Create list and you do not have to specify a Key 
  98. Specification Number from the Information Editor. 
  99.  
  100. If the log key is one of the user defined keys, or the file does not have 
  101. system data, `SYSKEY' will not appear in any of the key number lists. 
  102.  
  103. Below is a description of each of the dialog's controls. 
  104.  
  105. Index Type 
  106.                This operation allows you to create either an internal or 
  107.                external index. The Internal Index option creates a new index 
  108.                within the specified MicroKernel-compatible file.  The External 
  109.                Index option creates an external index file based upon the 
  110.                specified MicroKernel-compatible file. 
  111.  
  112.                To create an internal index, you must specify an existing 
  113.                MicroKernel Data File, a Key Specification Number from the 
  114.                Information Editor, and the Key Number you want the new index to 
  115.                have in the MicroKernel-compatible file. 
  116.  
  117.                To create an external index, you must specify an existing 
  118.                MicroKernel Data File, the name of the external index file to be 
  119.                created, and a Key Specification Number from the Information 
  120.                Editor. 
  121.  
  122. Data File 
  123.                Specifies the name of the existing MicroKernel-compatible file 
  124.                to which you wish to add indexes. 
  125.  
  126. External Index File 
  127.                Specifies the name of the external index file to create if you 
  128.                select the Create External Index File option. 
  129.  
  130. Key Specification Number in Information Editor To Use 
  131.                This list contains all key numbers currently specified in the 
  132.                Key Selection Controls  of the Information Editor. The key 
  133.                specification number selected will be used when creating either 
  134.                an internal or an external index. 
  135.  
  136. Goto Editor Button 
  137.                Displays the File Information Editor dialog box.  Before you can 
  138.                create an index, you must select a key specification in the 
  139.                Information Editor. If you have not already done so, you can use 
  140.                this button to quickly switch to the Information Editor. You can 
  141.                then create the desired key specification, switch back to the 
  142.                Create Index Dialog, and perform the create index operation. 
  143.  
  144. Existing Key 
  145.                This list contains all existing key numbers in the specified 
  146.                MicroKernel file. This is for information only. You do not need 
  147.                to select a key from this list. If the file has a system-defined 
  148.                key and the system-defined key is present, `SYSKEY' will appear 
  149.                in this list. 
  150.  
  151. Key Number to Use For Create 
  152.                Lists the key numbers available (not defined for the 
  153.                MicroKernel-compatible file). Highlight the key number you want 
  154.                to use when creating the index. If the file has a system-defined 
  155.                key and the system-defined key is dropped, `SYSKEY' will appear 
  156.                in this list. 
  157.  
  158. Refresh / Execute 
  159.                Once the user has specified the name of an existing 
  160.                MicroKernel-compatible file, this button updates the Btrieve 
  161.                Existing Keys and Key Number to Use lists. You can then select 
  162.                the execute option to create the index. The execute option will 
  163.                not be enabled unless you first specify all necessary 
  164.                information for the desired operation. 
  165.  
  166. Cancel / Close 
  167.                Select this button to close the dialog. After you have created 
  168.                an index, the cancel button changes to a close button, 
  169.                signifying that you cannot undo any completed operations. 
  170.  
  171.  
  172. ΓòÉΓòÉΓòÉ 5. Drop Index Dialog ΓòÉΓòÉΓòÉ
  173.  
  174. This dialog allows you to drop existing internal indexes in a 
  175. MicroKernel-compatible file. 
  176.  
  177. If the log key is the system-defined key, and the system-defined key is 
  178. present, you can drop the system-defined key. In this case, `SYSKEY' will 
  179. appear in the Existing Key list. 
  180.  
  181. If the file's system-defined key has already been dropped or the file does not 
  182. have system data, you can not drop the system-defined key. In this case, 
  183. `SYSKEY' will not appear in the Existing Key list. 
  184.  
  185. Below is a description of each of the dialog's controls. 
  186.  
  187. MicroKernel File 
  188.                Specifies the name of the existing MicroKernel-compatible file 
  189.                for which you wish to drop indexes. 
  190.  
  191. Existing Key 
  192.                Lists the key number defined for the file.  Highlight the number 
  193.                of the key whose index you want to drop. If the log key is the 
  194.                system-defined key, and the system-defined key is present, 
  195.                `SYSKEY' will appear in this list. If the file's system-defined 
  196.                key has already been dropped or the file does not have system 
  197.                data, `SYSKEY' will not appear in this list. 
  198.  
  199. Renumber Keys 
  200.                When dropping an index, you can instruct the Microkernel to 
  201.                maintain the current numbers of any remaining keys. If you check 
  202.                this control, the Microkernel will decrement by 1 the number of 
  203.                any remaining keys with a value greater than the dropped index. 
  204.  
  205.                For example, if you have 3 keys numbered 2, 3, and 5 and delete 
  206.                key number 3 the following will occur. 
  207.  
  208.                If you DO NOT renumber, the remaining keys will be numbered 2 
  209.                and 5. 
  210.                If you DO renumber, the remaining keys will be numbered 2 and 4. 
  211.  
  212. Refresh / Execute 
  213.                You can use the Refresh List button to update the information in 
  214.                the Drop Index dialog box based on the changes you may have made 
  215.                in the File Information Editor dialog. The execute option will 
  216.                not be enabled unless you first specify all necessary 
  217.                information. 
  218.  
  219. Cancel / Close 
  220.                Closes the dialog. After you have dropped an index, the cancel 
  221.                button changes to a close button, signifying that you cannot 
  222.                undo any completed operations. 
  223.  
  224.  
  225. ΓòÉΓòÉΓòÉ 6. Copy Data Dialog ΓòÉΓòÉΓòÉ
  226.  
  227. This dialog allows the user to copy data from one MicroKernel-compatible file 
  228. to another MicroKernel-compatible file.  Below is a description of each of the 
  229. dialog's controls. 
  230.  
  231. From MicroKernel File 
  232.                Specifies the name of the MicroKernel-compatible file from which 
  233.                the data is to be copied. 
  234.  
  235. To MicroKernel File 
  236.                Specifies the name of the MicroKernel-compatible file to which 
  237.                the data is to be copied. 
  238.  
  239. Browse Buttons 
  240.                Displays a Browse File Dialog. The selected file name will be 
  241.                placed in the corresponding file name edit control. 
  242.  
  243. Execute Button 
  244.                Closes the dialog and initiates the copy operation. 
  245.  
  246. Cancel Button 
  247.                Closes the dialog and aborts the copy operation. 
  248.  
  249.  
  250. ΓòÉΓòÉΓòÉ 7. Load Data Dialog ΓòÉΓòÉΓòÉ
  251.  
  252. This dialog allows the user to load data from an unformatted sequential file to 
  253. a MicroKernel-compatible file. Below is a description of each of the dialog's 
  254. controls. 
  255.  
  256. From Sequential File 
  257.                Specifies the name of the unformatted sequential file from which 
  258.                the data is to be copied. Refer to the Btrieve for OS/2 
  259.                Installation and Operation Manual for instructions on how to 
  260.                properly format a sequential file. 
  261.  
  262. To MicroKernel File 
  263.                Specifies the name of the MicroKernel-compatible file to which 
  264.                the data is to be copied. 
  265.  
  266. Browse Buttons 
  267.                Displays a Browse File Dialog. The selected file name will be 
  268.                placed in the corresponding file name edit control. 
  269.  
  270. Execute Button 
  271.                Closes the dialog and initiates the load operation. 
  272.  
  273. Cancel Button 
  274.                Closes the dialog without performing the load operation. 
  275.  
  276.  
  277. ΓòÉΓòÉΓòÉ 8. Save Data Dialog ΓòÉΓòÉΓòÉ
  278.  
  279. This dialog allows the user to save data from a MicroKernel-compatible file to 
  280. an unformatted sequential file.  Below is a description of each of the dialog's 
  281. controls. 
  282.  
  283. From MicroKernel File 
  284.                Specifies the name of the existing MicroKernel-compatible file 
  285.                whose data you want to save. 
  286.  
  287. To Sequential File 
  288.                Specifies the name of the sequential file to create. 
  289.  
  290. Use An Index 
  291.                When this control is checked, the Btrieve Maintenance Utility 
  292.                will save the data sorted by either an internal index or an 
  293.                external index file.  By default, the Maintenance Utility does 
  294.                not use an index, meaning that records are exported according to 
  295.                their physical position in the data file. 
  296.  
  297. Internal 
  298.                When selected, a list of all keys currently defined in the 
  299.                specified MicroKernel-compatible file will be displayed.  Use 
  300.                the Refresh Button to update this list if you change the name of 
  301.                the MicroKernel-compatible file. Select the key number to use 
  302.                when saving the records from this list. 
  303.  
  304. External File 
  305.                When selected, an edit control for specifying the name of the 
  306.                existing external index file will be displayed. 
  307.  
  308. Refresh / Execute 
  309.                Refresh will refresh the available indexes if the file name is 
  310.                changed in the From MicroKernel File edit control.  The execute 
  311.                option will not be enabled unless you first specify all 
  312.                necessary information for the desired operation. 
  313.  
  314. Cancel 
  315.                Closes the dialog without performing the save operation. 
  316.  
  317.  
  318. ΓòÉΓòÉΓòÉ 9. Owner Name Dialog ΓòÉΓòÉΓòÉ
  319.  
  320. This dialog is shown whenever the Btrieve Maintenance Utility attempts to open 
  321. a MicroKernel-compatible file which as an owner name. You should specify the 
  322. owner name for the file and press enter. If the owner name is valid, the 
  323. operation will continue. If it is not valid, this dialog will be shown again. 
  324. Pressing cancel will abort the operation. 
  325.  
  326.  
  327. ΓòÉΓòÉΓòÉ 10. ACS Information Dialog ΓòÉΓòÉΓòÉ
  328.  
  329. This dialog is accessed from the Information Editor Dialog. It allows you to 
  330. enter alternate collating sequence (ACS) information for a particular key 
  331. specification.  Below is a description of each of the dialog's controls. 
  332.  
  333. ACS / Country Code 
  334.                When selected, Btrieve will use the specified country ID and 
  335.                code page when sorting this key. 
  336.  
  337. Country ID 
  338.                The country ID. A value of -1 indicates the system default. 
  339.  
  340. Code Page 
  341.                The code page. A value of -1 indicates the system default. 
  342.  
  343. ACS File 
  344.                When selected, Btrieve will use the ACS defined in the specified 
  345.                file when sorting this key. 
  346.  
  347. ACS File Name 
  348.                Specifies the ACS file name. The ACS file must be formatted in 
  349.                accordance with the specification defined in the Btrieve 
  350.                Programmer's Manual. 
  351.  
  352. Browse Button 
  353.                Displays a Browse File Dialog. The selected file name will be 
  354.                placed in the ACS File Name control. 
  355.  
  356. OK Button 
  357.                Closes the dialog and saves any changes to the ACS information. 
  358.  
  359. Cancel Button 
  360.                Closes the dialog and does not save any changes. 
  361.  
  362.  
  363. ΓòÉΓòÉΓòÉ 11. Create File Dialog ΓòÉΓòÉΓòÉ
  364.  
  365. This dialog allows you to create a new MicroKernel or description file using 
  366. the file and key information currently in the Information Editor. 
  367.  
  368. MicroKernel Compatible File 
  369.                When selected, a MicroKernel-compatible file will be created. 
  370.  
  371. Description File 
  372.                When selected, a description file will be created. 
  373.  
  374. Index Only 
  375.                When selected, a description file with the specification for 
  376.                just the currently specified index (in the Information Editor) 
  377.                will be created. This is a convenient way to save individual 
  378.                index specifications. 
  379.  
  380.  
  381. ΓòÉΓòÉΓòÉ 12. Process Data Dialog ΓòÉΓòÉΓòÉ
  382.  
  383. This dialog shows you the status of the data manipulation process. For more 
  384. information on any non-successful status messages, please refer to the Btrieve 
  385. Programmer's Manual. 
  386.  
  387.  
  388. ΓòÉΓòÉΓòÉ 13. Getting Help ΓòÉΓòÉΓòÉ
  389.  
  390. For context-sensitive help at any time while you are running the Btrieve 
  391. Maintenance Utility, you can use one of two methods: 
  392.  
  393. Help Menu 
  394.                Select the Help option from the menu bar at the top of the 
  395.                Maintenance Utility window. 
  396.  
  397. Help Key 
  398.                Press the F1 function key. This key produces help information 
  399.                about the highlighted menu command or current window or dialog 
  400.                box. 
  401.  
  402.  
  403. ΓòÉΓòÉΓòÉ 14. Help on Help ΓòÉΓòÉΓòÉ
  404.  
  405. For information on how to use the OS/2 help system, press F1 from within this 
  406. help system. 
  407.  
  408.  
  409. ΓòÉΓòÉΓòÉ 15. Miscellaneous File Information ΓòÉΓòÉΓòÉ
  410.  
  411.  
  412. Below is a description of each of the miscellaneous controls. For more 
  413. information about these controls and their associated Btrieve attributes, refer 
  414. to the Btrieve for OS/2 Installation and Operations Manual or the Programmer's 
  415. Manual. 
  416.  
  417. Load Information... 
  418.                This button brings up a file selection dialog which allows you 
  419.                to load Btrieve information into the editor from either a 
  420.                MicroKernel-compatible file or a description file. 
  421.  
  422. Create File... 
  423.                This button brings up a file selection dialog which allows you 
  424.                to save the current editor information to either a 
  425.                MicroKernel-compatible file or a description file. 
  426.  
  427. Help 
  428.                This button brings up context sensitive help for the information 
  429.                editor dialog. 
  430.  
  431. Set to Defaults 
  432.                This button resets all of the controls to their default values. 
  433.                If you have made changes, you will first be asked if you want to 
  434.                create a file with the current information before continuing. 
  435.  
  436. Description Comments... 
  437.                This button displays the Description Comments dialog This dialog 
  438.                is used to edit comments stored in description files. 
  439.  
  440. Owner Name 
  441.                You can enter up to 8 characters in this edit control. After 
  442.                creating a new MicroKernel-compatible file using the current 
  443.                information in the editor, the Btrieve Maintenance Utility will 
  444.                set the owner of the file to this value. 
  445.  
  446. Version 
  447.                If the last file opened or created was a MicroKernel-compatible 
  448.                file, this read-only control displays the file's version. The 
  449.                version does NOT always indicate the version of the Microkernel 
  450.                used to create the file. Rather, it indicates the earliest 
  451.                version of the Microkernel which supports all of the attributes 
  452.                of this file, including any format changes. For example, a file 
  453.                created by the Microkernel version 6.1 which doesn't have any 
  454.                version 6.1 specific attributes will have a file version of 6.0. 
  455.                As a second example, a version 6.x formatted file can never have 
  456.                a version less than 6.0. If the last file accessed was not a 
  457.                MicroKernel-compatible file, NA is displayed. 
  458.  
  459. Total Records 
  460.                If the last file opened or created was a MicroKernel-compatible 
  461.                file, this read-only control displays the number of records in 
  462.                the file. If the last file accessed was not a 
  463.                MicroKernel-compatible file, NA is displayed. 
  464.  
  465. Show 6.x Info 
  466.                This button is only displayed after a pre-version 6.x 
  467.                MicroKernel file has been loaded or created. In this case, all 
  468.                controls specific to version 6.0 and above are hidden. Pressing 
  469.                this button will re- display all of these controls. 
  470.  
  471.  
  472. ΓòÉΓòÉΓòÉ 16. Set - Clear Owner Dialog ΓòÉΓòÉΓòÉ
  473.  
  474. This dialog allows the user to set or clear an owner name from an existing 
  475. MicroKernel-compatible file. Below is a description of each of the dialog's 
  476. controls. 
  477.  
  478. MicroKernel File Name 
  479.                Specify the name of the MicroKernel-compatible file here for 
  480.                which to set or clear the owner name 
  481.  
  482. Clear Owner 
  483.                Select this option to clear an owner name from the 
  484.                MicroKernel-compatible file. 
  485.  
  486. Current Owner 
  487.                Used with the Clear Owner operation to specify the current owner 
  488.                name in the MicroKernel-compatible file. 
  489.  
  490. Set Owner 
  491.                Select this option to set a new owner name for the 
  492.                MicroKernel-compatible file. 
  493.  
  494. New Owner 
  495.                Used with the Set Owner operation to specify the new owner name 
  496.                for the MicroKernel-compatible file. 
  497.  
  498. Permit RO Access 
  499.                When this control is checked for the Set Owner operation, 
  500.                Btrieve will allow users to access the file in read-only mode 
  501.                without specifying the owner name. 
  502.  
  503. Encrypt Data 
  504.                When this control is checked for the Set Owner operation, 
  505.                Btrieve will encrypt all data in the file. 
  506.  
  507. Cancel / Close 
  508.                Closes the dialog. After you have set or cleared an owner name, 
  509.                the cancel button changes to a close button, signifying that you 
  510.                cannot undo any completed operations. 
  511.  
  512.  
  513. ΓòÉΓòÉΓòÉ 17. File Specification Controls ΓòÉΓòÉΓòÉ
  514.  
  515.  
  516. Below is a description of each of the controls used to define the file 
  517. specification of a MicroKernel file.  These controls correspond to the various 
  518. file attributes Btrieve supports when creating a MicroKernel-compatible file. 
  519. For more information about these controls and their associated Btrieve 
  520. attributes, refer to the Btrieve for OS/2 Installation and Operation Manual or 
  521. the Btrieve Programmer's Manual. 
  522.  
  523. Record Length 
  524.                This control specifies the logical length of the fixed portion 
  525.                of the data record. 
  526.  
  527. Page Size 
  528.                This control specifies the page size Btrieve will use when 
  529.                creating a file. 
  530.  
  531. # Keys 
  532.                This control indicates how many different key specifications are 
  533.                currently defined in the Information Editor. 
  534.  
  535. # Segments 
  536.                This control indicates how many different key segment 
  537.                specifications are currently defined in the Information Editor. 
  538.  
  539. Available Linked Keys 
  540.                This specifies how many unused 8-byte key placeholders will be 
  541.                available at the end of each record for supplemental linked- 
  542.                duplicatable keys. These placeholders enable you to add new keys 
  543.                to a file that uses the linked-duplicatable method of storing 
  544.                duplicatable keys. 
  545.  
  546. Key-Only 
  547.                When this control is checked, the Microkernel creates a key-only 
  548.                file. This type of file contains no data and includes only one 
  549.                key. 
  550.  
  551. Balanced Indexing 
  552.                When this control is checked, the Microkernel will look for 
  553.                available space in sibling index pages each time an index page 
  554.                becomes full. The Microkernel then rotates values from the full 
  555.                page onto the pages with space available. 
  556.  
  557. Pre-allocation 
  558.                The Microkernel typically creates a new file with the minimum 
  559.                number of pages needed to support the various file and key 
  560.                attributes specified. When this control is checked, the user may 
  561.                specify up to 65,535 pages in the # Pages control. After loading 
  562.                file information from an existing MicroKernel-compatible file, 
  563.                this control specifies the number of unused pages remaining in 
  564.                the file. 
  565.  
  566. # Pages 
  567.                This control specifies how many pages Btrieve should preallocate 
  568.                when creating a new file. 
  569.  
  570. Data Compression 
  571.                When this control is checked, Btrieve compresses the file's 
  572.                records before inserting or updating them, and uncompresses the 
  573.                records when it retrieves them. 
  574.  
  575. Variable Records 
  576.                When this control is checked, Btrieve creates a file which 
  577.                allows variable records (records longer than the fixed length). 
  578.  
  579. Blank Truncation 
  580.                When this control is checked, the Microkernel will perform the 
  581.                blank truncation method of compressing variable-length records. 
  582.  
  583. Include VATs 
  584.                When this control is checked, the Microkernel includes 
  585.                Variable-tail Allocation Tables (VATs) in the file. VATs are 
  586.                used by the Microkernel to accelerate random access to the 
  587.                variable-length portions of records, but also to limit the size 
  588.                of the compression buffer used during data compression. 
  589.  
  590. % Free Space 
  591.                This control specifies the percentage of space you want the 
  592.                Microkernel to reserve on each variable page to allow for future 
  593.                expansion variable records. This allows the user to reduce the 
  594.                amount of fragmentation of variable records across several 
  595.                pages. 
  596.  
  597.  
  598. ΓòÉΓòÉΓòÉ 18. Key Specification Controls ΓòÉΓòÉΓòÉ
  599.  
  600.  
  601. The controls used to specify the key attributes supported by Btrieve are 
  602. located at the bottom of the Information Editor Window. The controls have been 
  603. divided into three groups. For more information about these controls and their 
  604. associated Btrieve attributes, refer to the Btrieve for OS/2 Installation and 
  605. Operation Manual or the Btrieve Programmer's Manual. 
  606.  
  607. Key Selection Lists 
  608. These lists are located at the center of the key specification area. They allow 
  609. the user to add or delete key specifications from the Information Editor as 
  610. well as change the current specification being viewed. 
  611.  
  612. Key Information Group Box 
  613. This group box is located at the left of the key specification area. The group 
  614. box's controls specify information common to ALL segments of the current key. 
  615.  
  616. Key-Segment Information Group Box 
  617. This group box is located at the right of the key specification area. The group 
  618. box's controls specify information about a particular segment of the current 
  619. key. 
  620.  
  621.  
  622. ΓòÉΓòÉΓòÉ 19. Key Lists ΓòÉΓòÉΓòÉ
  623.  
  624.  
  625. These lists and associated buttons allow the user to add or delete key 
  626. specifications from the Information Editor as well as change the current 
  627. specification being viewed. 
  628.  
  629. Key Selection List 
  630.                This list contains all key numbers currently defined in the 
  631.                Information Editor. As the user scrolls through this list, the 
  632.                key information corresponding to the key number is displayed in 
  633.                the editor. The three buttons beneath the control allow the user 
  634.                to manipulate the key numbers in the list. 
  635.  
  636. Insert Key Button 
  637.                This button inserts a new key number after the one currently 
  638.                selected. If there is key at this position already, that key 
  639.                (and all subsequent consecutive keys) will be incremented by 
  640.                one. 
  641.  
  642. Delete Key Button 
  643.                This button deletes the currently selected key. Subsequent keys 
  644.                are not renumbered. This button is shown only when a key is 
  645.                currently selected in the key selection list. 
  646.  
  647. Compress Key Button 
  648.                This button renumbers all key numbers in the list consecutively 
  649.                starting with 0. This button is shown only when there are holes 
  650.                in the list of key numbers. 
  651.  
  652. Key Segment Selection List 
  653.                This list contains all key segment numbers defined for the 
  654.                currently selected key. As the user scrolls through this list, 
  655.                the key segment information corresponding to the segment number 
  656.                is displayed in the editor. The two buttons beneath the control 
  657.                allow the user to manipulate the key segment numbers in the 
  658.                list. 
  659.  
  660. Insert Segment Button 
  661.                This button inserts a new key segment number after the one 
  662.                currently selected. If there is segment at this position 
  663.                already, that segment (and all subsequent segments) will be 
  664.                incremented by one. 
  665.  
  666. Delete Segment Button 
  667.                This button deletes the currently selected segment. If this is 
  668.                the last segment for the current key, the entire key is deleted. 
  669.                Subsequent keys are renumbered. This button is shown only when a 
  670.                segment is currently selected in the key segment selection list. 
  671.  
  672.  
  673. ΓòÉΓòÉΓòÉ 20. Key Information Group Box ΓòÉΓòÉΓòÉ
  674.  
  675.  
  676. The controls in this group box specify information common to ALL segments of 
  677. the current key. 
  678.  
  679. Duplicates 
  680.                When this control is checked, Btrieve allows more than one 
  681.                record in the file to contain the same value for this key field. 
  682.  
  683. Modifiable 
  684.                When this control is checked, Btrieve allows a key value for 
  685.                this key field to be updated. 
  686.  
  687. Repeating Duplicates 
  688.                Btrieve supports two methods of storing duplicate values for a 
  689.                key, repeating duplicates and linked duplicates. When this 
  690.                control is checked, Btrieve uses the repeating duplicates 
  691.                method. 
  692.  
  693. Null Key 
  694.                This control specifies whether the key has a null value. You can 
  695.                use a null value in a key when the data for the key is 
  696.                unavailable or when you do not want the Microkernel to include a 
  697.                record for that key in the index. Btrieve supports two methods 
  698.                for determining whether a particular key value is a null value: 
  699.                Any Segment and All Segments. These methods differ only for 
  700.                multi-segment keys. 
  701.  
  702. Any Segment 
  703.                When selected, Btrieve treats a key value as null if ANY segment 
  704.                of the key contains a null value. 
  705.  
  706. All Segments 
  707.                When selected, Btrieve treats a key value as null only if ALL 
  708.                segments of the key contain a null value. 
  709.  
  710. ACS Information 
  711.                This button displays the ACS Information Dialog. This dialog 
  712.                allows the user to specify an alternate collating sequence used 
  713.                in sorting the current key. Any segment of this key which uses 
  714.                an ACS will use the ACS specified here. This button is only 
  715.                enabled if the Use ACS control in the Segment Group Box is 
  716.                checked. 
  717.  
  718. Unique Values 
  719.                This is a read-only control specifying the number of unique key 
  720.                values contained by this key in a recently-opened 
  721.                MicroKernel-compatible file. NA is displayed if the current 
  722.                editor information was not loaded from an existing 
  723.                MicroKernel-compatible file. 
  724.  
  725.  
  726. ΓòÉΓòÉΓòÉ 21. Key-Segment Information Groupbox ΓòÉΓòÉΓòÉ
  727.  
  728.  
  729. The controls in this group box specify information about a particular segment 
  730. of the current key. 
  731.  
  732. Data Type 
  733.                This control specifies the Btrieve data type for the key. The 
  734.                data type determines how Btrieve will sort the bytes specified 
  735.                for this key segment. 
  736.  
  737. Position 
  738.                This control specifies the starting offset (1 relative) of the 
  739.                current key segment. 
  740.  
  741. Length 
  742.                This control specifies the length of the key segment field. 
  743.  
  744. Null Value (Hex) 
  745.                This control specifies the null value Btrieve should use when 
  746.                determining whether a key value should be treated as null. This 
  747.                control is enabled only if the Null Key control was checked for 
  748.                this key. 
  749.  
  750. Case Insensitive 
  751.                When this control is checked, Btrieve sorts this segment without 
  752.                regard to case. For example, the characters 'a' and 'A' will be 
  753.                given the same ordinal values. This control is only enabled if 
  754.                the data type of the segment is string, zstring, or lstring. 
  755.  
  756. Descending 
  757.                When this control is checked, Btrieve will collate the key 
  758.                segment in descending sort order. 
  759.  
  760. Use ACS 
  761.                When this control is checked, Btrieve expects an ACS to be 
  762.                specified for this segment. Use the ACS Information Dialog to 
  763.                specify the ACS for this key. All segments of a particular key 
  764.                do not need to use an ACS. However, all that do use an ACS must 
  765.                use the same one. 
  766.