home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / biz / dbase / quickfile / docs / quickfile.doc < prev   
Encoding:
Text File  |  1995-07-14  |  44.7 KB  |  1,301 lines

  1.   Quickfile v3.16.1 copyright 1992-1995 by Alan Wigginton
  2.  
  3. I accept no liability for any loss or damage resulting from the use of
  4. this program.  Users must evaluate the program and decide its usefulness
  5. for their own purposes.
  6.  
  7. QuickFile is not Public Domain, however it can be freely distributed
  8. provided all documentation and sample files are included unchanged.
  9.  
  10. QuickFile is a flexible, flat file database. It uses random access with
  11. indexing for fast access to records. Files can be larger than available
  12. ram, but as much of the file as possible is kept in ram to reduce disk
  13. accesses. Features include:
  14.  
  15.     - Multiple indexes with unique or non-unique keys
  16.     - Data types include character, date, integer, floating point,
  17.       calculation, cycle, image and external
  18.     - Up to 250 characters per field  and 250 fields per record.
  19.     - Form and list style displays and reports.
  20.     - Unlimited number of views of each file.
  21.     - Sort over any number of keys, ascending and descending order.
  22.     - Search operators include Like, Equal, Between, Sounds Like, Not Like
  23.       and Not Equal.
  24.     - Fields can be added, changed, or deleted at any time.
  25.     - ASCII export/import
  26.     - Multi column label printing.
  27.     - Multi-level grouping and totalling
  28.     - Any number of open files each in its own resizable window
  29.     - Online context sensitive AmigaGuide help
  30.     - ARexx port supporting macros and commands from external programs
  31.     - Easy to intuition interface with font sensitivity
  32.  
  33. System Requirements
  34.  
  35.     Any Amiga computer with 1 meg or more RAM. (It can run in 512k)
  36.     Workbench 2.04 or later
  37.  
  38.     Required libraries
  39.     asl.library
  40.     mathieeedoubbas.library
  41.     mathieeedoubtrans.library
  42.  
  43.     Optional libraries
  44.     iffparse.library       - to display Image fields
  45.     rexxsyslib.library     - to use ARexx
  46.     amigaguide.library     - to use on-line help
  47.  
  48.  
  49. QuickFile will work with XFH-handler (a file compression program) but
  50. XFH-handler requires that the decompressed file fit completely in ram.
  51. To work with QuickFile such programs must support update of an existing
  52. file.
  53.  
  54. QuickFile is written in C using DICE version 3.0.
  55.  
  56. ====== CONDITIONS OF USE =====
  57.  
  58. This version of the program can be used for free on the condition that you
  59. write and let me know that you are using it - a postcard will do. The
  60. About requester is displayed when the program starts and each time a
  61. window is closed.
  62.  
  63. Donations of money, stamps, software etc will be gratefully accepted. If
  64. you would like to register for updates, bug fixes and support, please send
  65. at least $20.00 to the address below. Overseas users please use
  66. international money order or bank draft - not personal cheques. Any cash
  67. currency is OK, but you send it at your own risk.
  68.  
  69.       Alan Wigginton
  70.       23 Carissa St
  71.       Shailer Park, Queensland  4128.
  72.       AUSTRALIA
  73.  
  74.       Phone 61 7 208 9441 (from overseas. Remember time differences)
  75.           07 208 9441 (from within Australia)
  76.  
  77.       Internet: alanw@mail.powerup.com.au
  78.       FidoNet:  Alan Wigginton   3:640/463
  79.  
  80. Registration will get you the latest version of the program (without the
  81. requester) and prompt attention by email (or snail mail)  to any problems
  82. you may encounter. You will also be advised when major upgrades are
  83. available.
  84.  
  85. I would appreciate any comments or suggestions.
  86.  
  87. WARNING. QuickFile is a random access data base that buffers records in
  88.      memory. Failure to exit the program properly after updates are
  89.      made will result in lost updates.
  90. ALWAYS     exit the program before a reboot or power off.
  91. DO     backup your files regularly.  When backing up a data base make
  92.      sure you backup all of the files - definition, data and indexes.
  93.  
  94. To install QuickFile to a hard disk or floppy, drag the QuickFile icon to
  95. the drawer of your choice. If you want to use the AmigaGuide help system,
  96. copy QuickFile.guide to the same directory. To install AmigaGuide
  97. doubleclick on the InstallAmigaGuide icon.
  98.  
  99. Icons are not generated by the program. Sorry, but if you want them you
  100. will have to create them yourself.
  101.  
  102. ===== Starting QuickFile ======
  103.  
  104. QuickFile may be started from Workbench using either the program icon or a
  105. project icon.
  106.  
  107. It may also be started from the CLI. The program name may be followed by
  108. a file name.
  109.  
  110. QuickFile opens a window on the default public screen. The default window
  111. size is a few pixels smaller than the screen size. Window size and
  112. position are saved when a view is saved.
  113.  
  114. ===== About Views ======
  115.  
  116. Views allow you to display data from a file in different ways. There are
  117. two basic types FORM and LIST.
  118.  
  119. Each view has its own field titles, positions and lengths, window size and
  120. report details. Once you have a view set out the way you want it, you can
  121. save it for future use.
  122.  
  123. The Define View requester is used to select or change the fields included
  124. in a view. The positions of fields on a form can be changed by dragging
  125. them around with the mouse.
  126.  
  127. When you open a file, QuickFile looks for a view called filename.VIEW. To
  128. automatically use your favourite view, save it as filename.VIEW in the
  129. same directory as the data base.
  130.  
  131. If you want to keep things simple and are happy with the default view, you
  132. need not define a view at all.
  133.  
  134. Views are typically used to print labels, export or import selected fields
  135. or print lists containing only selected fields.
  136.  
  137.  
  138. =========== Keyboard ===================
  139.  
  140. The following keys are available when the cursor is not in a string
  141. gadget (Press RETURN or ESC to de-activate a string gadget):
  142.  
  143.    RETURN        Same as OK button
  144.    ESC            Same as CANCEL button
  145.    TAB            Activate first string gadget
  146.    HELP         Displays help. Requires Amigaguide.library in libs: and
  147.             QuickFile.guide in the same drawer as QuickFile.
  148.    Down arrow        Next record
  149.    Up arrow        Previous record
  150.    Shift-down arrow Next page
  151.    Shift-up arrow   Previous page
  152.  
  153. In requesters with a single listview, up and down arrows will move through
  154. the items.
  155.  
  156. The following keys can be used in string gadgets:
  157.  
  158.    TAB              Move to next field
  159.    Shift-TAB          Move to previous field
  160.    Down arrow          Move to next field
  161.    Up arrow          Move to previous field
  162.    Return          De-activate string gadget if value is valid
  163.    ESC              De-activate string gadget ignoring errors
  164.    right Amiga-X      Erase all text in the gadget (as does Control-X)
  165.    right Amiga-Q      Restores the text that was present before you
  166.               changed it.
  167.    Shift-left arrow   Moves the cursor to the beginning of the field.
  168.    Shift-right arrow  Moves the cursor to the end of the field.
  169.    Shift-Del          Erases all characters from the cursor to the end of
  170.               the gadget.
  171.    Shift-Backspace    Erases all characters to the left of the cursor.
  172.  
  173. ============== MAIN WINDOW =================
  174.  
  175. Windows can be resized using the sizing gadget. The zoom gadget will
  176. iconify the window (reduce to a short title bar).
  177.  
  178. ===== Form Display ======
  179.  
  180. The FORM DISPLAY shows a single record per screen in the format specified
  181. by the current view.
  182.  
  183. Field positions can be changed by dragging fields around the window with
  184. the mouse. Field sizes can be changed by dragging the bottom right corner
  185. of the drag box. Note that although field height can be changed, only
  186. images will use more than a single line.
  187.  
  188. Pressing the "R" button displayed at the start of an external field will
  189. run the command defined for the field, provided the field is not empty.
  190.  
  191. To add or delete fields, change field titles or displayed lengths, press
  192. the VIEW button;
  193.  
  194. ===== List Display ======
  195.  
  196. The LIST display shows as many records as will fit in the window with a
  197. single line per record.
  198.  
  199. To update a record double click on it with the left mouse button
  200.  
  201. Before using the Modify or Delete buttons, select a record using a single
  202. press of the left mouse button.
  203.  
  204. In list mode, field position and length can only be changed using the
  205. Define View requester.
  206.  
  207. ===== Buttons =====
  208.  
  209. GoTo
  210.   GoTo finds a record by key value using the current index. This makes
  211.   access extremely fast, even on large files.
  212.  
  213.   You only need to enter enough of the key to identify the record you
  214.   want, but you must start at the first key field.
  215.  
  216. Modify
  217.   Allows you to modify the current record. The horizontal scroll gadget
  218.   can be used to scroll the display and access fields that do not fit in
  219.   the window.
  220.  
  221.   For images or external fields, you can enter the file name in the string
  222.   gadget or press the arrow button to get a file requester. Names entered
  223.   into the string gadget are not validated.
  224.  
  225. Insert
  226.   Displays a blank form for you to enter values for a new record.
  227.  
  228.   The Copy button will copy the contents of the previous record. This is
  229.   useful if you are entering records with similar values in some fields of
  230.   each record. Warning - it replaces anything currently on screen.
  231.  
  232.   Press Cancel (or ESC) to return to Browse mode.  NB When Cancel is
  233.   pressed any values displayed on the screen will be lost.  Press OK
  234.   to insert the record, then Cancel.
  235.  
  236. Delete
  237.  
  238.   Deletes the current record. A requester is displayed to confirm.
  239.   Once the record has been deleted you cannot get it back.
  240.  
  241. Form/List
  242.   Toggles the current view between FORM and LIST formats.
  243.  
  244. View
  245.   Pressing the VIEW button displays the Define View requester with the
  246.   current view.
  247.  
  248. Images
  249.   The Images checkbox in the main window toggles image display on and off
  250.   for faster processing.
  251.  
  252.  
  253. ===== Scrolling =====
  254.  
  255.   Scrolling is controlled by two slider type gadgets.
  256.  
  257.   Vertical Slider
  258.     This controls movement through the file and works in the usual way.
  259.     Scrolling may also be done using the up and down arrow keys for a
  260.     single record, or the shifted keys for a full screen.
  261.  
  262.   Horizontal Slider
  263.    If there are more fields than will fit in the current window, this
  264.    can be used to display the next group of fields.
  265.  
  266. ===========PROJECT  MENU ===================
  267.  
  268. OPEN
  269. Opens a new file in a new window.
  270.  
  271. LOAD
  272. Opens a new file, replacing the file in the current window.
  273.  
  274. SAVE
  275. Writes all updated blocks and indexes to disk.
  276.  
  277. CLOSE
  278. Writes all updated records and indexes to disk and closes the file and
  279. window.  Closing the last window will exit the program.
  280.  
  281. SAVE AS
  282. Creates a new file from the current file. Indexes for the new file are not
  283. created - they will be built when you first open the new file.
  284.  
  285. NEW
  286. Opens a new window for you to define a new file.
  287.  
  288. ALTER
  289. Displays the file definition panel for you to alter the current file
  290. definition. Note that the data and any updated views are saved first.
  291.  
  292. EXPORT
  293. Writes all, or selected, records to an ASCII file for exchanging data with
  294. other applications such as word processors, other data bases etc. The
  295. order and length of the fields in the export file is determined by the
  296. current view. Before doing the export, you may need to create a new view
  297. to give the record layout you want. See export section for details.
  298.  
  299. IMPORT
  300. Loads records from an ASCII file into your data base. The sequence and
  301. length of fields in the input file are determined from the current view.
  302. You should create and select the view before selecting the import
  303. function. See Import section for details.
  304.  
  305. REORGANISE
  306. Reorganises a file by creating a new optimised version and then copying
  307. that version over the main file.
  308.  
  309. Reorganising is not essential, but if you have been doing many additions
  310. and deletions, it may reduce file size and will improve performance.
  311.  
  312. During reorganisation free space is adjusted to the value specified in
  313. the file definition and records are physically stored in the sequence of
  314. the active key. Select your most used key sequence before reorganising to
  315. optimise access with that key.
  316.  
  317. ========= VIEW MENU ==========
  318.  
  319. VIEWS
  320. Displays a requester showing a list of currently loaded views for you to
  321. choose from. If you have not created or loaded any views, you will have a
  322. single view called filename.VIEW.
  323.  
  324. Press the Close button to drop the selected view. You cannot close all
  325. views - you must have at least one loaded.
  326.  
  327. NEW
  328. Creates a new view called 'unnamed' and displays it in the define View
  329. requester.
  330.  
  331. LOAD
  332. Loads another view from disk which becomes the current view.
  333.  
  334. If fields in the view cannot be located in the file definition, they will
  335. be dropped, and a requester displayed to warn you. This will happen if you
  336. delete fields from the file or change field names in the file definition.
  337.  
  338. SAVE
  339. Saves changes made to an existing view. If the view has been newly created
  340. a file requester will be displayed to confirm the name.
  341.  
  342. SAVE AS
  343. Saves the current view under a new name. A view can have any name but the
  344. .view suffix should be used for easy identification.
  345.  
  346. RESET FORM
  347. Resets field positioning back to the default.
  348.  
  349. ========== ORDER MENU =========
  350.  
  351. INDEXES
  352. Displays a list of indexes. Choose an index fromt the list to change the
  353. display sequence. If you have performed a sort or selection, the list will
  354. include "Selected" and/or "Sorted".
  355.  
  356. Pressing the Close Button will remove a "Sort" or "Selection" from memory
  357. and free the space used. To remove any permanent index use the
  358. Project/Alter menu item to alter the file definition.
  359.  
  360. SORT
  361. Displays the sort requester to sort into a new sequence
  362.  
  363. SHOW SORTED
  364. Uses last sort for the display sequence.
  365.  
  366. REBUILD INDEX
  367. Rebuilds the current index from the data file.
  368.  
  369. This can be used if the index and data files are inconsistent for some
  370. reason (eg a system failure). The index is rebuilt from the data file.
  371.  
  372. Try using this if the program is failing with a 'Block not found message'
  373. or any messages to the effect that QuickFile could not find a record it
  374. looked for.
  375.  
  376. ======= SELECTION MENU ===========
  377.  
  378. SELECT
  379. Searches for records matching your selection criteria. See later for full
  380. details.
  381.  
  382. SHOW SELECTED
  383. Displays current selection
  384.  
  385. SHOW ALL
  386. Displays all records. The current selection is retained.
  387.  
  388. ======= PRINT MENU ===============
  389.  
  390. DISPLAYED RECORDS
  391. Prints the records currently displayed on the screen. This will be a
  392. single record for a form display.
  393.  
  394. ALL RECORDS IN CURRENT INDEX
  395. Prints all records in the current index (or Sort or Selection).
  396.  
  397. The fields printed and the style (form or list) of report is determined by
  398. the current view.
  399.  
  400. See Print Requester for full details
  401.  
  402. =============== OPTIONS MENU ====================
  403.  
  404. ABOUT
  405. Too obvious to explain
  406.  
  407. BUFFERS
  408. Displays number  of blocks in the file and the maximum and in-use number
  409. of RAM buffers. You can change the maximum number of ram buffers. To
  410. permanently change the maximum number of buffers, use the Project/Alter
  411. menu item to change the file definition.
  412.  
  413. RUN AREXX MACRO
  414.  
  415. You run an ARexx macro by selecting the Options/ARexx macro menu item.
  416. This brings up a requester for you to enter the macro name.
  417.  
  418. Pressing the 'File' button brings up the file requester for you to choose
  419. the file to be run.
  420.  
  421. If you don't enter a file extension it defaults to ".QuickFile".
  422.  
  423. QuickFile sets the current directory to the database directory before
  424. passing the macro to ARexx. ARexx will look in this directory first, then
  425. in the REXX: directory. I suggest you put macros written for a particular
  426. database in its directory and general macros in the REXX: directory.
  427.  
  428. You can also run an ARexx macro automatically on start up to do things
  429. like loading additional views or selecting an index. Name the script
  430. filename.STARTUP and place it in the same directory as the file.
  431.  
  432. The display is not normally redrawn until the macro completes.
  433.  
  434. This menu item is disabled if RexxSupport.library is not in your libs:
  435. directory. ARexx must also have been started using REXXMAST before you can
  436. run a macro successfully.
  437.  
  438. See the Arexx commands documentation for a description of the commands
  439. available from ARexx.
  440.  
  441.  
  442. CONFIGURATION
  443.  
  444. The Configure Requester is obtained by selecting Configuration on the
  445. Options menu.
  446.  
  447. The settings are saved in a file called "QuickFile.config" in the same
  448. directory as the QuickFile program.
  449.  
  450. Memory Save Checkbox
  451.     Selecting this checkbox tells QuickFile to reduce memory usage.
  452.     It defaults to selected. Deselect this to speed up sorting if you
  453.     are not short of memory.
  454.  
  455. Online Help
  456.     Selecting this checkbox makes the context sensitive AmigaGuide help
  457.     available. It defaults to selected. Help will only be available if you
  458.     have AmigaGuide installed.
  459.  
  460. FONTS
  461.  
  462. To change a font, press the arrow gadget beside the font name. This will
  463. bring up a font requester for you to select a typeface and size.
  464. Note that very wide fonts may trash some gadget imagery.
  465.  
  466. Standard Font
  467.     Specifies the font to use for text in most gadgets. This may be a
  468.     proportional font.
  469.  
  470. List Font
  471.     This is the fixed width font used for list displays. This includes
  472.     QuickFile's list display and Listview gadgets.
  473.  
  474. Report Font
  475.     This font is used for printing reports to the screen. Use a narrow
  476.     font to display more characters on the screen. This also must be a
  477.     fixed width font.
  478.  
  479. Save button
  480.     Saves the settings in the QuickFile.config file and uses the settings.
  481.  
  482. Use button
  483.     Uses the settings but does not save them for permanent use.
  484.  
  485. Cancel button
  486.     Cancels any changes made and retains the previous settings
  487.  
  488.  
  489. ============ DEFINE VIEW REQUESTER =================
  490.  
  491. Name
  492.   Identifies the view. This can be changed for a new view, but is display
  493.   only for an existing view.
  494.  
  495. Available Fields List
  496.   Lists the fields in the current file. Clicking on a field will add it to
  497.   the current view.
  498.  
  499. View Fields List
  500.   Lists the fields in the current view. Clicking on a field in this list
  501.   will select it and display its title and length below the list box.
  502.   These can then be changed if required. The changes will only affect the
  503.   current view.
  504.  
  505.   New fields are added before the currently selected item.
  506.  
  507. Type Buttons
  508.   Choose type of view - FORM or LIST.
  509.  
  510. Headings Check Box
  511.   Field names are displayed if this is checked. This is normally only
  512.   turned off for printing labels.
  513.  
  514. Field Title String Gadget
  515.   This is the text gadget under the View Fields list. You can change the
  516.   field title for this view only. For example you may want a short title
  517.   for a short field on the list display but use the full name for the form
  518.   display. The title can be blank. This gadget is disabled unless one of
  519.   the View Fields is selected.
  520.  
  521. Length String Gadget
  522.   Use this to reduce or increase the field display length for this view
  523.   only.
  524.  
  525. IMPORTANT NOTE: You must press enter after changing either the field name
  526.   or length or your changes will be ignored.
  527.  
  528. Clear Button
  529.   Deletes all fields from the View Fields list.
  530.  
  531. Delete Button
  532.   Deletes the selected field from the View Fields list.
  533.  
  534. =================== SORT REQUESTER ==================
  535.  
  536. Sort creates a temporary index which is discarded when the file
  537. is closed. The sort sequence will be maintained as you add or delete
  538. records.
  539.  
  540. The sort technique used requires that all sort keys be resident in memory,
  541. so record buffers are freed to increase the memory available to the sort.
  542. If you are short of memory, it may help to sort using less than the full
  543. length of long fields.
  544.  
  545. Available Fields
  546.   Lists the fields defined in this file. Clicking on a field will add it
  547.   to the Sort Fields.
  548.  
  549. Index Fields
  550.   Lists the fields to be used for the sort. The order of the fields
  551.   in this box determines their priority in the sort. The first field is
  552.   the primary key, the second will only be used for records where the
  553.   first keys are equal and so on.
  554.  
  555.   Clicking on a field in this list will select it and display its name
  556.   and length below the list box.
  557.  
  558.   New fields are inserted before the currently selected field. To add a
  559.   field to the end of the list, select the "== End ==" entry.
  560.  
  561. Length
  562.   Changing this length allows you to sort over part of a long field, to
  563.   save memory and speed sorting
  564.  
  565.   IMPORTANT: YOU MUST PRESS ENTER OR RETURN AFTER CHANGING A LENGTH OR
  566.          YOUR CHANGES WILL BE IGNORED
  567.  
  568. Order
  569.   Select A..Z for ascending sequence or Z..A for descending. You can mix
  570.   these on different fields in the same index.
  571.  
  572. Clear Button
  573.   Deletes all fields from the Index Field List
  574.  
  575. Delete
  576.   Deletes the selected field from the Index Fields list.
  577.  
  578. ==================== SELECTION ====================
  579.  
  580. A selection is a sub-set of the data base that matches specified
  581. conditions. QuickFile searches through the whole data base looking for
  582. records with fields matching requested values, and creates an index
  583. containing these records. You can then browse, print, export or create a
  584. new database with the selected records.
  585.  
  586. The selection is updated automatically for deletions and changes but not
  587. additions.
  588.  
  589. When displaying a selection, the title bar will show the number of records
  590. in the selection.
  591.  
  592. The selected data will be in the same sequence as the current Index.  You
  593. can sort it into another sequence if required.    If the current index is
  594. the result of a previous selection, only the selected records are
  595. searched.
  596.  
  597. You can use any number of criteria for a search, but the more you have the
  598. slower the search will be.
  599.  
  600. ============== Search Panel =================
  601.  
  602. The Search Panel displays a list of search criteria with buttons for
  603. inserting, modifying and deleting them.
  604.  
  605. Two values can be specified for each item. The second value is primarily
  606. for the Between operator, but it can be used to specify an alternative
  607. value for the other operators.
  608.  
  609. Clicking on the Insert or Modify displays the Search Details requeste for
  610. you to insert or modify the details.
  611.  
  612. For insertions, the new item will be inserted before the selected item. To
  613. insert a new item at the end of the list, select the "== End ==" item.
  614.  
  615. Clicking on delete will bring up a requester for you to confirm the
  616. deletion of the selected item.
  617.  
  618. Search criteria linked with 'and' will select only records that match both
  619. criteria, while search criteria linked with 'or' will select records that
  620. match either criteria.
  621.  
  622. 'And' has higher precedence so criteria are formed into groups split by
  623. 'or'. All criteria in a group must be satisfied for a record to be
  624. selected, but a record will be selected if it matches any group. That is
  625. confusing and is probably best explained with an example:
  626.  
  627.       Occupation equal     programmer
  628.   and location     equal     sydney
  629.   or  Occupation equal     programmer
  630.   and location     equal     canberra
  631.  
  632. This will find all programmers who live in Sydney or Canberra. Note that
  633. Occupation had to be repeated. The following would give all programmers
  634. who live in Sydney and EVERBODY who lives in Canberra.
  635.  
  636.       Occupation equal     programmer
  637.   and location     equal     sydney
  638.   or  location     equal     canberra
  639.  
  640. You can also do things like
  641.  
  642.        Name     like     john
  643.   and  Name     notlike smith
  644.  
  645. which would find all persons named John, except those named John Smith.
  646.  
  647. ========= Search Details ======================
  648.  
  649. And, Or Buttons
  650.   Choose AND or OR to specify how this search item is combined with the
  651.   previous one. These are not present for the first item.
  652.  
  653. Available Fields List
  654.   Lists all the fields in the file defintion. The current selection is
  655.   displayed under the list.
  656.  
  657. Comparison Operator (like, equal etc)
  658.   Choose the operator to be used for this search item. (see below)
  659.  
  660. Value 1
  661.   The primary search value. It is always used. If you want to search for
  662.   empty fields leave this empty.
  663.  
  664. Value 2
  665.   This is the secondary search value. Its primary use is with the between
  666.   operator but can be used to enter an second search value for the other
  667.   operators.
  668.  
  669.   Note that with Not Equal and Not Like, value 1 and value 2 are joined by
  670.   AND rather than OR. It will find all records except those that contain
  671.   value 1 or value 2. Using OR in this situation would select every
  672.   record.
  673.  
  674. ======= Search Operators ===============
  675.  
  676. Like
  677.   Matches fields that contain the search string anywhere within them. eg
  678.   "bit" would find "The Hobbit" and "Bitter Sweet".
  679.  
  680. Equal
  681.   Matches a field only if it exactly equals the search value. Case is not
  682.   significant so that dog will match Dog or even dOG.
  683.  
  684. Between
  685.   Matches a field with a value equal to or between the specified pair of
  686.   values. This can also be used to perform a less than or greater than
  687.   search. e.g. 'between 41 and 999' is the same as 'greater than  40'.
  688.  
  689. Sounds Like
  690.   Matches fields where the first word sounds like the search value. This
  691.   is really a bit of a gimmick as it is not very smart. NOTE it only looks
  692.   at the first word of the field.
  693.  
  694. Not Like
  695.   As for like but only matches records that do not contain the search
  696.   value.
  697.  
  698. Not Equal
  699.   As for equal but only matches records that do not match the search
  700.   value.
  701.  
  702. ====== EXPORT REQUESTER ======
  703.  
  704. A number of preset formats are provided or you can tailor your own record
  705. and field Separators by selecting the Custom format.
  706.  
  707. The headers button determines whether a header record containing the field
  708. names is to be included at the start of the file.
  709.  
  710. Pressing the OK Button displays a file requester for you to specify the
  711. name of the export file.
  712.  
  713. All records from the current index will be written. If you are displaying
  714. Selected records, only the selected records will be written.
  715.  
  716. ====== IMPORT REQUESTER ======
  717.  
  718. One preset format("...",) is provided or you can tailor your own by
  719. selecting Custom and choosing the Record and Field separators.
  720.  
  721. Both sequence and length can be different from that in the database. Also,
  722. not all database fields need to be present in the ASCII file. Any fields
  723. not present will be set to blank in your data base.
  724.  
  725. NB: It is vital that the sequence and number of fields you set in the
  726. selected fields box of the field selector correspond to the sequence of
  727. fields in the ASCII file you are importing.
  728.  
  729. Make you sure to backup your database before you import a file into an
  730. existing data base. If you get the format wrong, it is easier to restore
  731. than to fix or delete all of the incorrect records.
  732.  
  733. Also use plenty of buffers if you are going to import a large number of
  734. records.
  735.  
  736. ============ Preset Export/Import Formats =================
  737.  
  738. A number of preset formats are provided including the mailmerge formats for
  739. some wordprocessors:
  740.  
  741.  Custom
  742.    Allows you to define your own format using predefined Separator
  743.    characters.
  744.  
  745.  "...",
  746.    This is a quote and comma delimited text file such as used for data for
  747.    BASIC programs.
  748.  
  749. The following preset formats are available only for Export, not Import.
  750.  
  751.     Final Copy
  752.     Interword
  753.     KindWords 3
  754.     ProWrite
  755.     WordWorth
  756.  
  757. Only the KindWords 3 and Interword versions have been tested.
  758.  
  759. ====== Field and Record Separators ========
  760.  
  761. You can only select from the predefined delimiter codes.
  762.  
  763.   Field Start
  764.   The character that marks the start of a field.
  765.  
  766.   Field End
  767.   Marks the end of a field. It differs from the field separator in that a
  768.   separator does not appear after the last field in a record while a field
  769.   end character appears after every field.
  770.  
  771.   Field Separator
  772.   Separates fields in the record. It does not appear after the last field
  773.   in the record
  774.  
  775.   Record End
  776.   Marks the end of a record
  777.  
  778. If Field Start is used, a Field End must also be used. If neither Field End
  779. nor Field Separator is used, the records will be fixed length with each
  780. field padded to its maximum length with spaces.
  781.  
  782.  
  783. ============= PRINT REQUESTER =====================
  784.  
  785. Title
  786.   This is printed, centered, at the top of each page of your report.
  787.   Current date is printed at the left margin and the page number at the
  788.   right margin.
  789.  
  790.   The title line is only printed if you enter a Title. Note that even a
  791.   single space will print a blank title.
  792.  
  793. Left and Right Margins
  794.   Character position of left and right margin.
  795.  
  796. Lines/Page
  797.   This controls the number of lines QuickFile will use on each page. The
  798.   default is paper size minus 8 to provide a top and bottom margin.
  799.  
  800.   NB QuickFile issues a Form Feed when a new page is required. This
  801.   relies on your setting the page height on your printer correctly, and
  802.   may be a limitation with some printers. If you have a problem with this,
  803.   let me know and I will look at using the preferences paper size.
  804.  
  805.   A value of zero will suppress the report title and page breaks.
  806.  
  807. Print Pitch  Cycle Gadget.
  808.   As for Workbench printer preferences
  809.  
  810. Lines Per Inch Cycle Gadget
  811.   This button toggles between 6 and 8 lines per inch.
  812.  
  813. Output To   Cycle Gadget
  814.   Allows you to send the report to the printer, window or a file. The file
  815.   will not include any printer escape codes.
  816.  
  817. If you are printing a FORM view, a number of additional fields are
  818. displayed for multi-column printing such as address labels. See Labels for
  819. full details.
  820.  
  821. If you are printing a LIST view, a Group By list is displayed. This lists
  822. the report groups defined for this report. See Report Groups.
  823.  
  824. Press the OK button to start printing or the cancel button to cancel any
  825. changes you have entered.
  826.  
  827. Saving the view will save all of your report settings.
  828.  
  829. ========= Labels ============
  830.  
  831. Label printing is available for FORM type views only. You will normally
  832. define a special view and:
  833.  
  834.    Set Field Labels for the view to No
  835.  
  836.    Arrange the fields in the top left hand corner of the FORM screen to
  837.    match the desired label format
  838.  
  839.    Use the following fields in the print requester to control your label
  840.    format.
  841.  
  842. Labels Across
  843.   Number of labels to print across the page
  844.  
  845. Label Width
  846.   Width of each label. One additional space will be allowed
  847.   between labels. If you want to print labels further apart, increase this
  848.   value.
  849.  
  850. Labels Down
  851.   Number of labels to print down the page before starting a new column.
  852.   For example 3 across and 4 down will print in the following sequence:
  853.  
  854.       1      5      9
  855.       2      6     10
  856.       3      7     11
  857.       4      8     12
  858.  
  859. Label Height
  860.   Height of each label in lines. An additional blank line will be printed
  861.   between each label. The default is the number of lines in the form.
  862.  
  863. You will probably want to set Lines Per Page to zero to suppress page
  864. breaks as well.
  865.  
  866. If you are printing a single column of labels only, you can leave all of
  867. the above fields blank and let the number of lines in the form determine
  868. the label height.
  869.  
  870. ======== Report Groups ===================
  871.  
  872. You may know report groups as control breaks. A "group by" field is only
  873. printed when its value changes. You can also calculate summary values for
  874. each group. Each group can be based on several fields, although usually
  875. only one is used. Any number of fields may be summarised for a group.
  876.  
  877. Note that records must be sorted into the correct sequence for this to
  878. work correctly. They are not sorted automatically.
  879.  
  880. The types of groups available are
  881.  
  882. Report.  Gives a summary value for the whole report. If used, it must
  883.      be the first group in the list.
  884. Page.     Groups will start on a new page. Group fields will print
  885.      before column headings.
  886. Subtitle Prints the group fields on a separate line at the start of each
  887.      group. Reduces line length but best when each group contains
  888.      a good number of records.
  889. Normal     Field prints in the first line of the group only, but space
  890.      is used in each line.
  891.  
  892. You can have several levels of groups of the same type, but they must be
  893. listed from highest level to lowest.
  894.  
  895. ============= Report Group Example ============
  896.  
  897. The following example shows two groups with totals.
  898.  
  899.    Group 1 : City     Type: Normal   Group Fields: City
  900.                      Summaries:    Value (total)
  901.  
  902.    Group 2 : Salesman Type: Normal   Group Fields: Salesman
  903.                      Summaries:    Value (total)
  904.  
  905.    Resulting report:
  906.  
  907.     City    Salesman    Client             Value
  908.     ----------    -------------    --------------     ---------
  909.     Brisbane    Fred Smith    ABC Company       8000.00
  910.                 XYZ Limited       6400.00
  911.                 Zip Electronics   12000.00
  912.  
  913.     Salesman Tot                  26400.00
  914.  
  915.         John Brown    ZZZ Computers       5000.00
  916.                 GWZ Peripherals    7200.00
  917.  
  918.     Salesman Tot                  12200.00
  919.  
  920.     City Tot                      28600.00
  921.  
  922. Note: The file must be sorted over City and Salesman for this to print
  923. correctly.
  924.  
  925. ========== Report Group Requester ============
  926.  
  927. This defines the type, grouping fields, and summaries for a single report
  928. group.
  929.  
  930. Group string gadget
  931.   Names the group. This name is printed on summary lines.
  932.  
  933. Type
  934.   Type of group
  935.  
  936. View Fields list
  937.   Lists the fields available in the current view. The selected field in
  938.   this list can be added to either the Group Fields or Summaries lists.
  939.  
  940. Group Fields list
  941.   Lists the fields used for gouping. A new group starts when any of these
  942.   fields change. A group field is not required for a Report level group.
  943.  
  944. Summaries list
  945.   Lists the fields to be summarised for this group. Selecting an item from
  946.   this list will update the check boxes to show the summaries requested.
  947.   Use the INS button to add the selected view field to this list.
  948.  
  949. Tot, Cnt, Avg check boxes
  950.   Show the summaries required for the currently selected Summary field.
  951.   Any or all may be checked for one field.
  952.  
  953. OK and Cancel Buttons
  954.   Return to the Print Requester.
  955.  
  956. ============== DEFINING FILES  ===================
  957.  
  958. Use the Project/New menu item to define a new file.
  959.  
  960. Use the Project/Alter menu item to change the definition for the current
  961. file.
  962.  
  963. You can change just about everything in a file definition, except the
  964. block size, even after you have loaded data to the file. You can change
  965. field names, types and lengths. You can add or delete fields, and add or
  966. delete indexes. Caution should be used when changing the type for fields
  967. that contain data.
  968.  
  969. WARNING: Deleting a field makes its data inaccessible, even if you
  970.        re-add the same field. If you accidentally delete a field, reload
  971.        the definition without saving your changes and start your changes
  972.        again.
  973.  
  974. The fields defined for this file are listed in the box at the right of the
  975. window. Use the buttons beside the window to add, change or delete fields.
  976.  
  977. If a field is highlighted when you press add, the new field will be added
  978. before the selected field. To add a field to the end of the list, select
  979. the "== End ==" item.
  980.  
  981. The indexes (indices?) are listed in the box at the lower left. Use the
  982. buttons to add, change or delete indexes.
  983.  
  984. ================ File Details =================
  985.  
  986. The file details are shown at the top left of the QFDefine window
  987.  
  988. Block Size
  989.   QuickFile does not read and write single records at a time, but builds
  990.   them into blocks. This reduces the number of disk reads and writes
  991.   required. Around 2000 seems to give good results. The only way to change
  992.   block size is to export the whole file, define a new data base and use
  993.   import to recreate your file. Block size must be larger than the maximum
  994.   record size plus free space, plus some space for control fields (2 bytes
  995.   per field plus 2 bytes for the record length).
  996.  
  997. Free Space
  998.   The amount of free space to be left in each block to allow for records
  999.   to expand. As QuickFile only stores the actual data entered (not
  1000.   trailing blanks), additional space is required if a change makes a field
  1001.   longer. 100 seems to work OK. Records are moved to another block if
  1002.   necessary, so this is not critical.
  1003.  
  1004. Buffers
  1005.   Maximum number of buffers QuickFile will use for holding blocks of
  1006.   records in memory. Unless you have very large files or are short of
  1007.   memory, use a large figure such as 100.  QuickFile will never use more
  1008.   buffers than are required for the whole file.
  1009.  
  1010.   The more of the file in memory, the faster QuickFile works. The memory
  1011.   used is approximately (number of buffers * buffer size).
  1012.  
  1013.   WARNING. If you using a compression program like XFH-handler with
  1014.   QuickFile, set the number of buffers to 3. XFH will already have the
  1015.   decompressed copy of the file in ram.
  1016.  
  1017.  
  1018. Ext. Path
  1019.   This is a default path used for images and external files. The file name
  1020.   in each record is stored as a name relative to this path, which can
  1021.   reduce the number of characters in each record.
  1022.  
  1023.  
  1024. =========== Field Requester ===========
  1025.  
  1026. Name string gadget
  1027.   Enter a name of up to 12 characters for the field.
  1028.   Note that changing the field name does not change the field title in
  1029.   any existing views.
  1030.  
  1031. Length
  1032.   60 characters is a practical maximum length as no left and right
  1033.   scrolling is provided and more characters cannot be displayed.
  1034.   The maximum is 250. The minimum length of a date field is 11 characters.
  1035.  
  1036.   Space is used only for the number of characters entered in each record,
  1037.   not for the maximum field length. In fact, if a field is empty it takes
  1038.   up no space at all.
  1039.  
  1040. Decimals
  1041.   Number of decimals stored and displayed for the field. Values entered in
  1042.   the field will be rounded to this number of decimals.
  1043.  
  1044. Type  Push buttons
  1045.   Choose type of field. See below for the available types
  1046.  
  1047. Mandatory Check Box
  1048.   If checked, the field must have a value in all records. You will not be
  1049.   able to add a new record without a value in this field.
  1050.  
  1051. Justify Right Check Box
  1052.   If checked, the field is right justified. Integer, Float, and Caculated
  1053.   fields default to right, character and date fields default to left.
  1054.  
  1055. Expression String Gadget
  1056.   Contents depend on field type
  1057.  
  1058.     Calc:    The expression to calculate the field value
  1059.     Cycle:    The list of possible values
  1060.     External:    The command string to be run to process the field content.
  1061.  
  1062.   See field types for more detail.
  1063.  
  1064. =============== Field Types ===============
  1065.  
  1066. Character
  1067.   General character string.
  1068.  
  1069. Integer
  1070.   Whole number, no decimals.
  1071.  
  1072. Float.
  1073.   Real numbers with decimals.
  1074.  
  1075. Calculated
  1076.   The field value is calculated from other fields, which may themselves be
  1077.   calculated fields.
  1078.  
  1079.   Enter the calculation in the expression string gadget. The expression
  1080.   can contain field names, constants, and the add (+), subtract (-),
  1081.   multiply (*) and divide (/) operators. Field names containing spaces
  1082.   must be enclosed in double quotes ("). Normal precedence rules apply and
  1083.   brackets may be used to control sequence. Fields must be defined before
  1084.   they can be referenced.
  1085.  
  1086. Date
  1087.   These have a minimum length of 11 characters and are always entered as
  1088.   day/month/year.
  1089.  
  1090.   The separator can be any of /-. or a space. Month can be entered as a
  1091.   number or a three character name. Year can be entered as two or four
  1092.   digits. If two digits are used, a number greater than 50 is assumed to
  1093.   be this century, 50 or less, the next century.
  1094.   For example 03/08/93    3-8-93    3.aug.93  03 aug 1993 are all valid
  1095.  
  1096.   Dates are always displayed in the format 14-Apr-1993.
  1097.  
  1098. Cycle
  1099.   A list of values is associated with a cycle field. The value is
  1100.   maintained using a cycling button instead of a string gadget.
  1101.  
  1102.   Enter the list of values, separated by commas, in the expression string
  1103.   gadget. Any spaces you enter will be included in the value - you
  1104.   probably don't want leading spaces.
  1105.  
  1106.     for example  Blue,Green,Light Blue,Red
  1107.     instead of     Blue, Green, Light Blue, Red
  1108.  
  1109. Image
  1110.   An image that is displayed in the QuickFile window. Only the file name
  1111.   is stored in the database.
  1112.  
  1113. External
  1114.   Holds file names that can be run using an external program. This can be
  1115.   used for images, sounds, text files, animations or whatever. Enter the
  1116.   command template in the expression string gadget with %s to represent the
  1117.   file name. The full path name of the command is required. For example
  1118.  
  1119.     dh0:utilities/display %s
  1120.  
  1121.   At run time %s will be replaced with the contents of the field in the
  1122.   data base record
  1123.  
  1124.  ============== Indexes =============
  1125.  
  1126. You must define at least one index. If you are not sure pick any field
  1127. that will give a useful sequence, such as surname, title etc. Each index
  1128. can use a number of fields to give precise control of sequence.
  1129.  
  1130. You can have any number of indexes but you should limit yourself to those
  1131. you are going to use regularly.
  1132.  
  1133. You can index on any field type including calculated fields. You can also
  1134. define an index as unique to prevent duplicate records being created.
  1135.  
  1136. If you change an index on an existing file, it will be rebuilt when you
  1137. return to the main display panel.
  1138.  
  1139. Select the index from the list and press the appropriate button. The Index
  1140. Requester is used to define or alter an index definition.
  1141.  
  1142. Indexes are maintained automatically as you add, modify and delete records
  1143. on your file so they reduce the need for sorting and resorting.
  1144.  
  1145. ============ Define Index Requester =================
  1146.  
  1147. Name
  1148.   Identifies the index and is also used to form the index file name.
  1149.  
  1150. Unique CheckBox
  1151.   If checked, duplicate index entries will not be allowed.
  1152.  
  1153. Available Fields
  1154.   Lists fields defined in this file. Clicking on a field will add it to
  1155.   the fields selected for this index.
  1156.  
  1157. Index Fields
  1158.   Lists fields in the current index. The order of the fields in this box
  1159.   determines their priority in the sort. The first field is the primary
  1160.   key, the second will only be used for records where the first keys are
  1161.   equal and so on.
  1162.  
  1163.   Clicking on a field in this list will select it and display its name
  1164.   and length below the list box.
  1165.  
  1166.   If a field is highlighted, any new fields will be added before the
  1167.   highlighted field, otherwise new fields will be added at the end. To
  1168.   remove highlighting click in the blank part of the box.
  1169.  
  1170. Length
  1171.   Changing this length allows you to index on part of a long field. This
  1172.   reduces memory usage and may increase speed.
  1173.  
  1174.   IMPORTANT: YOU MUST PRESS ENTER OR RETURN AFTER CHANGING A LENGTH OR
  1175.          YOUR CHANGES WILL BE IGNORED
  1176.  
  1177. Order Buttons
  1178.   Select A..Z for ascending order or Z..A for descending order. You can
  1179.   mix these on different fields in the same index.
  1180.  
  1181. Delete
  1182.   Deletes the highlighted field from the Index Fields list.
  1183.  
  1184. ===== FILE NAMES =============
  1185.  
  1186.    QuickFile uses four types of file distinguished by extension. Changing
  1187.    these with an  editor will probably corrupt the file. YOU HAVE BEEN
  1188.    WARNED.
  1189.  
  1190.    The DEFINITION FILE has no extension. This is the name you enter when
  1191.    specifying a file name for QuickFile.
  1192.  
  1193.    The DATA FILE has an extension of .Data.
  1194.  
  1195.    VIEW files usually have an extension of .View
  1196.  
  1197.    INDEX FILES have an extension of .nameX where 'name' is the name of the
  1198.    index as specified in the file definition.
  1199.  
  1200. ========== POSSIBLE PROBLEMS =================
  1201.  
  1202. INDEX DOESN'T MATCH DATA FILE
  1203.  
  1204. It is possible for an index and data file to get out of synchronisation.
  1205. This can be caused by not closing a file properly, typically because of a
  1206. guru or power loss with a file open.
  1207.  
  1208. If you suspect an index has been corrupted in some way, you can delete the
  1209. index file (called filename.indnameX).  When you next open the file, the
  1210. index will be rebuilt.    This is indicated by a message such as "getblock:
  1211. Block not found" being displayed in the Console window.
  1212.  
  1213. You can also rebuild an index by selecting the Rebuild Index item from
  1214. the QuickFile tools menu.
  1215.  
  1216. IF YOU ARE SHORT OF MEMORY
  1217.  
  1218. Some tips for reducing memory requirements:
  1219.  
  1220.   Disable the online help. You can do this using the Configuration item
  1221.   on the Options menu
  1222.  
  1223.   Define only a single index. That is still one more than most programs
  1224.   allow.
  1225.  
  1226.   Hard drive users can reduce the number of buffers. This will also work
  1227.   with floppies but may be unacceptably slow.
  1228.  
  1229.   Remove rexxsyslib.library from your libs: directory to prevent QuickFile
  1230.   opening the library and using memory.
  1231.  
  1232.   If you are using a compression program such as XFH-handler, reduce the
  1233.   number of buffers in the file definition to 3. Otherwise both XFH and
  1234.   QuickFile will be holding the file in ram:
  1235.  
  1236. BUGS
  1237.  
  1238. The program has been reasonably tested, but only on my A500. Some bugs
  1239. refuse to show up until you hit exactly the right combination of
  1240. conditions, so please let me know of any problems you find. Known problems
  1241. (limitations really) are:
  1242.  
  1243. - If you drag a field off the bottom of the window, the drag box is drawn
  1244.   over the border but is not erased properly if you release the mouse
  1245.   button.
  1246.  
  1247. - Date and character fields cannot be used in calculations but you can
  1248.   enter them into expressions.
  1249.  
  1250. - Fields are always added to the bottom of a view, even though you can
  1251.   insert them anywhere in the list of fields for the view.
  1252.  
  1253. - A Field is clipped horizontally, but not vertically, if it does not fit
  1254.   completely in the visible window. This causes images to disappear instead
  1255.   of being clipped if you make the window too small.
  1256.  
  1257. - No attempt is made to remap image palettes. You may get odd colours or
  1258.   a block of a single colour.
  1259.  
  1260. - Switching views from an ARexx macro can cause a series of window redraws
  1261.   to occur after the macro has completed. This is because switching views
  1262.   can cause window resize messages to be sent by Intuition and these are
  1263.   not seen by QuickFile until the macro completes.
  1264.  
  1265. - Disk thrashing can occur on startup if the file contains images because
  1266.   QuickFile is trying to load an image while AmigaGuide is scanning the
  1267.   QuickFile.guide file.
  1268.  
  1269. If you write to me with a problem you would like fixed, it is much easier
  1270. for me if you send a copy of your database, the version of the program you
  1271. are using, and instructions on how to duplicate the problem.
  1272.  
  1273. ========== Program Limits ==============
  1274.  
  1275. Field Length
  1276.  
  1277.     While up to 250 characters are allowed per field, this is not very
  1278.     useful as each field is limited to one line.
  1279.  
  1280. Number of Records per File
  1281.  
  1282.     The theoretical limit is currently 65,535. In practice it is much
  1283.     lower because of the indexing technique which will run out of either
  1284.     memory or processor speed. Each index requires a contiguous area of
  1285.     RAM 4(n + 200) bytes in size, where n is the number of records in the
  1286.     file. The sort technique also limits the size of the file.    The sort
  1287.     loads all sort keys to ram and also requires 8 bytes per record in one
  1288.     contiguous area.
  1289.  
  1290.     A realistic maximum is probably in the order of 10,000 to 20,000.
  1291.  
  1292. Number of fields per record
  1293.  
  1294.   250. But I got bored at about 60, so you take your chances if you want
  1295.   to try more.
  1296.  
  1297. Number of indexes
  1298.  
  1299.   No limit.
  1300.  
  1301.