home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / datamage.zip / DOCS.ZIP / DBSEMAKR.DOC < prev    next >
Text File  |  1991-02-28  |  7KB  |  121 lines

  1.                        DATABASE INSTALLATION PROGRAM:
  2.  
  3. The  DBSEMAKR  program installs new datafiles designed by the  user.   It  also
  4. loads  and  edits  existing datafile structures, then  writes  a  new  datafile
  5. definition in another directory.  The POWRCOPY program can be used to move data
  6. from one or more files into a new format.
  7.  
  8. To  start the program select install user-designed datafiles from the  menu  of
  9. the  GO program.  DBSEMAKR will load in the normal manner and ask  whether  you
  10. wish  to  load/edit an existing file, or start fresh.  If you opt  to  edit  an
  11. existing file you enter the name of the directory where the established file is
  12. recorded and the format is loaded and displayed.
  13.  
  14. If  you  opt to start a new file the program asks if you wish the  file  to  be
  15. assessed  by the POWRMAIL program.  If you may desire to do a mass  mailing  to
  16. the  persons/organizations detailed in the file then you must opt to  make  the
  17. new  datafile  compatible  with POWRMAIL, or originate  your  own  label  print
  18. program.   When  the  program displays the fields  automatically  dedicated  to
  19. POWRMAIL none of them will be indexed.  You may alter the indexing any way  you
  20. wish,  but  you  may alter neither the class nor the  length  of  the  program-
  21. generated fields.  Doing so will render the file un-accessible to POWRMAIL.
  22.  
  23. Perhaps  you are installing an inventory file.  Since you will have no need  to
  24. mail  things to your stock, opt for a file that is not accessible to  POWRMAIL.
  25. The  dialog  box  will  guide you through the first  field,  then  it  will  be
  26. displayed.
  27.  
  28. The  data  display  of  the DBSEMAKR program is quite  similar  to  the  browse
  29. function  of  the BASE program.  You "navigate" by pressing the  up/down  arrow
  30. keys, the page up/down and home/end keys.  When the number of the desired field
  31. is flashing it will be the object of the functions selected.
  32.  
  33. Pressing the return key causes the program to re-prompt you for the details  of
  34. the  high-lighted field.  If you don't wish to change what's there  just  press
  35. return.  Pressing the "A" key causes the program to prompt you for the  details
  36. of a new field, then adds that field to the end of the file.
  37.  
  38. When  you are specifying or correcting a field you are first prompted  for  the
  39. name.   If the name you enter has been used it will be rejected.
  40.  
  41. If you are editing a field you can not change it's basic storage type.  You can
  42. not change a string field to a date, or a numeric to a string.  To do so delete
  43. the field, then use the insert function to replace it.
  44.  
  45. If  you are entering a new field you  are asked  the type of data to reside  in
  46. that field.  It can be date, string, numeric or dollar. If you  select   alpha-
  47. numeric  data  you  will, unless all indexes have been  used,  be  offered  the
  48. opportunity to establish an index for the new field.
  49.  
  50. If  you  select  numeric data storage you will be prompted for  the  number  of
  51. decimals  to record in the field.  If a number is entered or otherwise  written
  52. into  the  field  it will be automatically rounded  to  the  specified  format.
  53. Selecting  the  numeric storage mode automatically assigns a  length  of  eight
  54. bytes to the field.
  55.  
  56. If  you select the date format a length of ten will automatically  be  selected
  57. for  the field.  The first date field you enter will prompt you for the  format
  58. for all date-formatted fields in the file.  It can be MM/DD/YY/ or DD/MM/YY.
  59.  
  60. The  last  part  of  the definition process specifies  the  maximum  number  of
  61. characters allowed in the field.  The maximum number is 35 for string data, and
  62. numeric data ALWAYS occupies eight bytes per field.  When you specify a numeric
  63. or date field the length of ten or eight will be automatically chosen.
  64.  
  65. Inserting  a new field will move the high-lighted field (and those that  follow
  66. it)  "down" one, then prompt you for the details of a new field to be  inserted
  67. in  that  position.   Deleting  a field will remove it,  and  bring  all  those
  68. following it "up" one.
  69.  
  70. Your progress may be printed at any time, as many times as you wish.
  71.  
  72. When you have your datafile designed as you wish press "W" to record it to  the
  73. disk.   You  will be prompted for a name to be assigned the new  directory  the
  74. program will make to hold the new datafile.  You will also enter a 35 character
  75. description  of  the  datafile.   The  directory  name  and  the  user-assigned
  76. description  will both be displayed when the BASE program makes a menu  of  the
  77. files on that disk.
  78.  
  79. The  operation  of  this program is really simple.  As usual,  the  dialog  box
  80. guides you and makes you aware of your options at any given time.  The  program
  81. has a single help file that is displayed by pressing "H" from the data  display
  82. screen.   If you become confused during the program opt to view  the  on-screen
  83. help.
  84.  
  85. Before starting the DBSEMAKR program your datafile should be carefully designed
  86. to  efficiently  record  data  pertinent to the  record  and  to  exclude  non-
  87. indicative or overly-long portions of your current paper filing system.
  88.  
  89. Telling  you how to define your file is beyond the scope of these  instructions
  90. due  to  lack of information on my part.  You will find, in the  next  section,
  91. some concepts and "tips" gleaned from having read/written too much data on  too
  92. many disks.
  93.  
  94. INITIAL DISK SPACE:
  95.  
  96. The  program will reserve initial disk space for the new/reorganized  datafile.
  97. Whether you are entering or copying the data into the file your disk space will
  98. end up fragmented due to records being written into three files.
  99.  
  100. The initial disk space option allows you to reserve disk space for a number  of
  101. records   you   chose.   The  three  files:  CTRLFILE.RAD,   FILEINDX.RAD   and
  102. YOURDATA.RAD  will be filled with blank records and no fragmentation caused  by
  103. the program will occur.
  104.  
  105. If  you're  not short on disk space reserving space for your files  is  a  good
  106. idea.  It speeds index and record number searches by having all the target data
  107. in one place on the drive, thusly eliminating many stepping operations.
  108.  
  109. If  your file should exceed the number of records allocated the  programs  will
  110. begin  allocating disk space as you require it, as usual.  Your files  are  not
  111. limited to the number of records initially specified.
  112.  
  113. REORGANIZING FILES:
  114.  
  115. DATAMAGE  files  tend to collect a following of macros, I/O groups  and  custom
  116. screens  over the course of time.  All these record fields within the  file  to
  117. use again and again.  DATAMAGE will find it's field, even if the file has  been
  118. reorganized.   But it has to be there.  Think carefully before deleting  fields
  119. from established files, you might be ruining a macro or screen!
  120.  
  121.