home *** CD-ROM | disk | FTP | other *** search
/ Computerworld 1996 March / Computerworld_1996-03_cd.bin / idg_cd3 / grafika / aplikace / docutk15 / tutorial.txt < prev    next >
Text File  |  1996-02-13  |  14KB  |  263 lines

  1. Infothek Document Imaging - Docuthek
  2.  
  3. Copyright ⌐ 1995 Informatik Inc.
  4. All Rights Reserved.
  5. Infothek is a trademark of Informatik Inc.
  6.  
  7. info@informatik.com
  8. 76534.1166@compuserve.com
  9.  
  10.  
  11. T U T O R I A L
  12.  
  13. Last updated: 07-25-95
  14.  
  15.  
  16. THIS IS A FAIRLY COMPREHENSIVE SYSTEM WITH MANY FEATURES AND CONTROLS.  PLEASE FEEL 
  17. FREE TO CALL INFORMATIK INC FOR HELP, EVEN IF YOU ARE NOT YET REGISTERED.  
  18. YOU CAN ONLY EVALUATE THE SYSTEM IF YOU KNOW HOW TO USE IT.
  19.  
  20. THE DATABASES CAN BE CREATED EASILY AND QUICKLY.  INFORMATIK INC. IS WILLING TO 
  21. SET UP THE FIRST DATABASE FOR A NOMINAL CHARGE.
  22.  
  23. if you need a simple pre-configured fixed database (5 keyword fields, drawer, folder, 
  24. date) you should check out the DOCUDEX system.
  25.  
  26.  
  27. CREATE  DATABASE
  28.  
  29. 1.   Start Infothek by clicking on the 'camera' icon in the Program Manager.  From the 
  30. blank Infothek screen (no windows open) choose Design Database from the
  31. Database menu.  The Database Selection window is displayed. 
  32.  
  33. (Alternatively, start up the Database Administration program directly from the 
  34. Program Manager by clicking the 'Hammer' icon.)
  35.  
  36. The Database Administration is a separate program, linked to Docuthek.  If, for security reasons,
  37. you want to make the Database Administration inaccessible to Docuthek users, move the
  38. Database.exe and Database.hlp files to another directory.
  39.  
  40. 2.   We will now create a brand new database.  Therefore, we shall NOT select an existing
  41. database from any listed databases .  Instead please select Create New Database from the Options
  42. menu.
  43.  
  44. 3.   In the prompt box, type the full path and name of the new database, e.g. C:\MYDIR\MYDB
  45. and choose OK.  A second prompt for the table name appears.
  46.  
  47. 4.   In the prompt box, type the name of the table.  If at all possible, you should avoid spaces in
  48. the table name.  Choose OK.  The Database Design window is now displayed.
  49.  
  50. 5.   Now you must specify all the fields for the table.  The field specification consists of a field
  51. name, a data type (such as number, text, date, etc.) and if the field is an text type, then the size of
  52. the field.
  53.  
  54. Click the first cell in the grid box (Field, first column, first blank row).   In the box with the
  55. blinking insertion point, type the name of the first field.  The field name should not have spaces, if
  56. possible.
  57.  
  58. Click the second cell in the same row (Type).  A list of data types is displayed.  Select the 'Text'
  59. item, assuming you want the field to be alpha-numeric.
  60.  
  61. Since this is a 'text' data type. we must specify the length of the field.  Click the third column of
  62. the same row (Size) and in the input box type 20 (assuming we want the field to accommodate up
  63. to 20 characters.).  Numeric fields do not need a field size.
  64.  
  65. Repeat the above steps for all the fields in the table.  For the Docuthek imaging system, you must
  66. have a field named IMAGEFILE.  This field will hold the image's file name.  Normally, the
  67. Imagefile field will be the last field.  The file size of the Imagefile field should not be less than 20
  68. to accommodate the path and extension name of the image file. 
  69.  
  70. 6.  Review the entries.  If everything is correct, press the Create button.  Please be aware that
  71. fields cannot be removed from a table once the table is created.  To remove a field, you will need
  72. to delete the table and rebuild it.
  73.  
  74. 7.   The next prompt is for our international users.  The database needs to know what language to
  75. use when sorting the data.  If your language is English, French, German, Italian, choose OK.  If
  76. you want to specify another language, press Cancel and select the language from a list of available
  77. languages. 
  78.  
  79. 8.   The database is now being build.
  80.  
  81. 9.   It is advisable to create indexes for the table.  Indexes can improve the performance of the
  82. database significantly.  To create an index, select Create Index from the Options menu.
  83.  
  84. In the Index Name field, type the name of the index (any name up to 8 characters, no spaces). 
  85. From the Field List select the first index field and specify the sorting mode by pressing the
  86. Ascending or Descending button.  Select other fields that are part of the index (optional).  Specify
  87. 'Primary' and 'Unique' if appropriate.   Review the index data displayed in the Index Definition
  88. box, and if correct, press the Create button.  If you have several indexes for the table, repeat this
  89. process, giving each index a different name.
  90.  
  91. You need to understand the meaning of the 'primary' and 'unique' flags.  Each table can have one
  92. primary key; this is the main sorting key.  If you specify an index to be unique, the system will
  93. ensure that duplicate values cannot be posted.  Primary indexes are 'unique' by definition. 
  94.  
  95. 11.   You should now review the newly created database.  From the Options menu, choose View
  96. Database Structure.  The detail of the database is displayed.  To print the information, press the
  97. Print button. 
  98.  
  99. 10.   Additional tables and fields can be added to existing databases.  To do so, you must first
  100. select the database (and table, if it exists) from the lists on he Database Selection screen.  Then,
  101. from the Options menu, select Add New Table or Add Fields.
  102.  
  103. 11.  The Database Administration allows you to restructure the database, to repair and compact
  104. fragmentated databases.  Use Database Administration also to import ASCII files,  to make global
  105. adjustments, to delete tables and indexes.  As indicated above, individual fields cannot be deleted
  106. from tables.  If a field is redundant, you should create a new table and transfer the date from the
  107. old table to the new table with the Restructuring function.  Databases can be deleted only with the
  108. File Manager.
  109.  
  110. 12.   The Database is now created, and we can start to post our entries.
  111.  
  112.  
  113. INDEXING IMAGES
  114.  
  115. 1.    Close the Database Administration system.
  116.  
  117. 2.    If you use the system for the first time, you must select the database.  From the toolbar
  118. of the blank window (no windows are displayed), click the Database Selection button 
  119. (filing cabinet).  The Database Selection window is displayed.  Select the drive, directory, 
  120. database and table.  Choose OK.  
  121.  
  122. The following assumes that you already have scanned in a few documents.  Documents can be
  123. scanned with a scanner or with a fax machine.  It does not matter what file name you gave to the
  124. images, in what directory they are placed, or in what graphics format they are saved (most
  125. popular formats are supported).  
  126.  
  127. 3.    From the toolbar, choose the Imaging button (camera).  The Imaging window is displayed.
  128. (If a database has not been previously specified, you will need to select the database first.  The
  129. database is selected by choosing the Database Selection button in the toolbar and specifying the
  130. database and table.)
  131.  
  132. 4.    From the File menu, select Open Image File.  In the Open dialog box, specify the directory
  133. and the image file name.  Press OK.  The selected image is displayed.
  134.  
  135. 5.    From the toolbar, choose the Data Edit and Indexing button (pencil).  The Data Edit and
  136. Indexing window is displayed.
  137.  
  138. 6.   Normally, we want to copy the image to a permanent file, such as an optical disk.  The 
  139. image files can also be formatted and archived globally (see Global File Formatting).  Click the
  140. directory field (at the top of the Data Edit and Indexing screen).  In the Document Directory
  141. dialog box,  select the directory of the permanent file.  Also select the Graphics Format for the
  142. new file, normally TIFF.  Then, press on OK.  In the File Name field of the Data Edit and
  143. Indexing window, type the new file name.  The file name should consist of trailing numerals, so
  144. that the file naming can be automated for a batch of documents (for example IMG0001).  Do not
  145. type an extension name (the system uses the graphics format as an extension name)..
  146.  
  147. 7.    Choose Commit New or Commit Append.  Commit New creates a new file, whereas Commit
  148. Append appends the image as a new page to an existing file.  Only TIFF and DCX formats allow
  149. multiple pages.
  150.  
  151. 8.    Complete all the fields for the index.  You can move to the next field by pressing Enter, 
  152. the down-arrow key or tab.  To move back, press the up-arrow key or Shift-Tab.  Press the Confirm 
  153. button (checkmark)
  154.  
  155. 9.    Click on the document image that you just indexed.  This important step is required to
  156. reactivate the imaging window.  From the File menu, select the next document that needs to be
  157. indexed.  Power users please note that you can quickly retrieve the next image by pressing F5 if
  158. the image name has trailing numerals.  The next document image is displayed. 
  159.  
  160. 10.    Click the Data Edit and Indexing window to activate it.  Please note that the directory
  161. information is retained from the previous entry.  If the new file name has trailing numerals
  162. (recommended), simply press the Increment button to set the next sequential file number. 
  163. Complete all fields and press the Commit New or Commit Append button.
  164.  
  165. 11.   Post several entries so that we can run a meaningful query.
  166.  
  167. 12.    When all documents are indexed and copied to the permanent files, you may wish to delete
  168. the temporary files.
  169.  
  170. 13.    To edit existing records, locate the record with the search function in the Data Edit and
  171. Indexing window.  Activate the field that you want to search, then, choose the Search menu.  In
  172. the prompt, type the search characters and press the Search button.  All matching records are
  173. lined up and you can view them one at the time with the left and right arrow buttons, or use the
  174. appropriate function in the File menu.  Make the necessary changes and press the Confirm button. 
  175. To restore the data of a record, choose Restore Record from the File menu.  To delete a record,
  176. choose Delete Record from the File menu.
  177.  
  178.   
  179.  
  180. QUERIES
  181.  
  182. Infothek has a powerful (SQL-based) query engine.  This tutorial will introduce you to the basic
  183. query technique.  The query engine is very powerful and extensive.  This tutorial will show you
  184. just the 'tip of the iceberg'.
  185.  
  186. 1.  In the toolbar choose the Query button (question marks).   (If you want to query another
  187. database, choose the Database Selection button first.)  The Query window is displayed.
  188.  
  189. 2.   The first column of the Query builder list all available fields of the table.  All fields are marked
  190. with a blue checkmark.  Each marked field will be displayed as a separate column in the report. 
  191. You can remove a checkmark, by  clicking the appropriate Select cell  or by pressing the delete
  192. button while in the Select cell.  To add a checkmark, simply click the cell.
  193.  
  194. 3.   Most searches are done by filtering out selected data.  Click the field name that you want to
  195. filter.  In the yellow input box (with the blinking insertion point), enter the filter
  196. criteria.  For example, if you want to search for NY in the State field, type NY.  You can add
  197. filters to several fields.
  198.  
  199. 4.    Press the Query button (green spot).  The report shows all records that have 'NY' in the State
  200. field.
  201.  
  202. 5.    Press the Clear button (cross-out) to clear the screen and try another query.  
  203.  
  204. You have noticed that the system automatically defaults the Filter Operator.  If the data type of
  205. the field is 'text', the default Filter Operator is LIKE  and the system looks for a pattern.  If the
  206. data type of the field is 'numeric', the default Filter Operator is '=' and the system looks for an
  207. exact match.  For LIKE operators, the system always appends the '*' wildcard character. 
  208. Therefore, if you search for JOHN the system will retrieve all names starting with JOHN,
  209. including JOHN, JOHNSON, etc.  To remove the wildcard character, simply specify 'JOHN'.  
  210.  
  211. As you have seen, the system features a large number of operators, such as >=, BETWEEN, IN,
  212. etc.  Furthermore, there are functions for aggregates, such as count, maximum, average, etc. 
  213. Finally, you can sort the display, reformat the values, and show totals at the bottom of the report. 
  214.  
  215. Sometimes, the reported data cannot all be shown on the screen.  Horizontal and vertical scroll
  216. bars allow you to view the hidden part of the report.  Also, if you click the right mouse button,
  217. the system displays a summary of the record.
  218.  
  219. The report can be printed, exported or copied to the Windows Clipboard.  There are two methods
  220. of printing:  horizontal and vertical presentation.  If you tag certain records with the checkmark,
  221. only the tagged items will be printed or exported.  To tag a record, simply double click on it.   To
  222. remove the tag, double-click it again, or press the Delete button.  Only the highlighted area is
  223. copied to the clipboard.
  224.  
  225. The system has many features that are beyond the scope of this tutorial.  Please read the help
  226. topics on the Refine function,  re-sequencing the columns, re-sizing the column width, adding
  227. calculated columns, editing the SQL statement, purge, etc.
  228.  
  229. The SQL query supports most of the common functions.
  230.  
  231.  
  232. VIEW A DOCUMENT IMAGE
  233.  
  234. If you want to integrate the query with the imaging system, one of the fields in the database table
  235. must be called IMAGEFILE.
  236.  
  237. 1.   In the SQL report click the record that holds the image.  You can click any cell on that row. 
  238. The content of the cell will become the heading (title) of the displayed image.
  239.  
  240. 2.   Press on the Imaging button(camera) in the Query window (NOT the toolbar at the very top),
  241. or Function Key 12.  The image is displayed.
  242.  
  243. 3.   To change the attributes of the image (size, rotation, etc), choose the View menu. 
  244.  
  245. 4.    Please read the online help on how to zoom in, copy, and print.
  246.  
  247. 5.   To close the image, double-click on the control in the upper-left corner of the image window,
  248. or choose Close from the File menu.
  249.  
  250. You can also view images without running a query.  From the File menu, choose Open Image File
  251. and specify the directory and image file name. 
  252.  
  253.  If you want to display several images, choose Open New Image from the File menu, then choose
  254. Open Image File.
  255.  
  256. If  you lost an image, it is probably hiding behind the active screen.  Simply choose the Windows
  257. menu and click the image file that you want to bring to the foreground.
  258.  
  259.  
  260.  
  261.  
  262.  
  263.