home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / DB / DB010A.ZIP / MANUAL.EXE / lha / MANUAL.DOC next >
Text File  |  1991-09-08  |  262KB  |  8,530 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.                              PROFILE
  24.  
  25.  
  26.                     Professional Filing System
  27.  
  28.  
  29.                            User Manual
  30.  
  31.  
  32.                             Version 2
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.    Copyright (c) 1986,87,89,91 by Lee Raesly
  47.    All Rights Reserved
  48.  
  49.    National Software Design
  50.    8209 Coach Street
  51.    Potomac, MD  20854
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.                          Limited Warranty
  66.  
  67. No Warranty on Software or Manuals
  68.  
  69. EVEN  THOUGH  THE  PUBLISHER  HAS  TESTED THE  ProFile  SOFTWARE,
  70. INSTRUCTION MANUAL, AND  REFERENCE MATERIALS, THESE  PRODUCTS ARE
  71. SOLD  "AS  IS"   WITHOUT  WARRANTY   AS  TO  THEIR   PERFORMANCE,
  72. MERCHANTABILITY,  OR  FITNESS  FOR ANY  PARTICULAR  PURPOSE.  THE
  73. ENTIRE RISK FOR  THE RESULTS AND  PERFORMANCE OF THIS PROGRAM  IS
  74. ASSUMED  BY  YOU.  SHOULD  EITHER  THE SOFTWARE  OR  MANUAL PROVE
  75. DEFECTIVE,  YOU (AND  NOT THE  PUBLISHER OR  ITS DISTRIBUTORS  OR
  76. DEALERS)  ASSUME  THE  ENTIRE COST  OF  ALL  NECESSARY SERVICING,
  77. REPAIR OR  CORRECTION.   THE  PUBLISHER,  ITS  DISTRIBUTORS,  AND
  78. DEALERS WILL NOT BE  LIABLE FOR DIRECT, INDIRECT, INCIDENTAL,  OR
  79. CONSEQUENTIAL DAMAGES RESULTING  FROM ANY DEFECT IN  THE SOFTWARE
  80. OR MANUAL, EVEN IF THEY HAVE BEEN ADVISED OF SUCH DAMAGE.
  81.  
  82. Limited Warranty on Disks
  83.  
  84. HOWEVER, TO THE  ORIGINAL PURCHASER ONLY, THE  PUBLISHER WARRANTS
  85. THE MAGNETIC DISKETTE ON WHICH THE PROGRAM IS RECORDED TO BE FREE
  86. FROM DEFECTS IN MATERIAL AND FAULTY WORKMANSHIP UNDER NORMAL  USE
  87. FOR A PERIOD OF NINETY DAYS FROM THE DATE OF PURCHASE.  IF DURING
  88. THE NINETY-DAY PERIOD  THIS DISK SHOULD BECOME  DEFECTIVE, IT MAY
  89. BE RETURNED TO  THE PUBLISHER FOR  A REPLACEMENT WITHOUT  CHARGE,
  90. PROVIDED  YOU  HAVE  PREVIOUSLY  SENT  IN YOUR  LIMITED  WARRANTY
  91. REGISTRATION CARD TO THE  PUBLISHER OR SEND PROOF OF  PURCHASE OF
  92. THE PROGRAM.   YOUR SOLE AND EXCLUSIVE  REMEDY IN THE EVENT  OF A
  93. DEFECT IS  EXPRESSLY LIMITED  TO REPLACEMENT  OF THE  DISKETTE AS
  94. PROVIDED ABOVE.  IF FAILURE OF THE  DISKETTE HAS RESULTED FROM AN
  95. ACCIDENT OR ABUSE, THE PUBLISHER SHALL HAVE NO RESPONSIBILITY  TO
  96. REPLACE THE DISKETTE UNDER THE TERMS OF THIS LIMITED WARRANTY.
  97.  
  98. ANY IMPLIED WARRANTIES  RELATING TO  THE DISKETTE, INCLUDING  ANY
  99. IMPLIED  WARRANTIES  OF   MERCHANTABILITY  AND   FITNESS  FOR   A
  100. PARTICULAR PURPOSE, ARE LIMITED  TO A PERIOD OF NINETY  DAYS FROM
  101. THE  DATE  OF  PURCHASE.   PUBLISHER  SHALL  NOT  BE  LIABLE  FOR
  102. INDIRECT, SPECIAL,  OR CONSEQUENTIAL  DAMAGES RESULTING  FROM THE
  103. USE OF THIS  PRODUCT.  SOME STATES DO NOT ALLOW  THE EXCLUSION OR
  104. LIMITATION OF INCIDENTAL  OR CONSEQUENTIAL DAMAGES, SO  THE ABOVE
  105. LIMITATIONS MIGHT  NOT APPLY  TO YOU.   THIS  WARRANTY GIVES  YOU
  106. SPECIFIC LEGAL RIGHTS AND YOU MIGHT ALSO HAVE OTHER LEGAL RIGHTS,
  107. WHICH VARY BY STATE.
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.                     ProFile License Agreement
  124.  
  125. IMPORTANT
  126.  
  127. When you purchase,  or receive from  a friend or organization,  a
  128. copy of ProFile, you accept and agree to honor a license  for use
  129. only by the terms as set forth here.   If you do not agree to the
  130. terms and have  purchased your  copy, return this  product to  us
  131. within 30 days of purchase for a full refund.
  132.  
  133. LICENSE
  134.  
  135. The  publisher  remains the  sole  owner of  ProFile Professional
  136. Filing System.  ONLY IF YOU REGISTER, the publisher grants to you
  137. and you  accept a  license for  ProFile.  The  license to use the
  138. software  includes personal use,  as well   as  business or  pro-
  139. fessional   use.   USE   WITHOUT  REGISTRATION,  OTHER  THAN  FOR
  140. EVALUATION PURPOSES, IS PROHIBITED.
  141.  
  142. ProFile  is  shareware  software.    Shareware  is  a  method  of
  143. distribution and evaluation  of software.  The  shareware concept
  144. means that  ProFile may  be  freely copied,  provided that  these
  145. rules are followed:
  146.  
  147. 1)   You  may  make copies  of this  program  so that  others may
  148.      evaluate  it on a private, non-commercial  basis.  The trial
  149.      period shall be no more than 30 days.
  150.  
  151. 2)   If you like the program and use it, send in the registration
  152.      fee, that's how shareware works.
  153.  
  154. 3)   You  may  not  decompile,  translate,  reverse  engineer, or
  155.      disassemble ProFile or create derivative works from it.
  156.  
  157. 4)   You  may  not,   without  permission  from  the   publisher,
  158.      distribute this software as part of a service or product, or
  159.      as   part  of  a   corporate  or  institutionally  sponsored
  160.      distribution  program.You   may   not   copy   the   printed
  161.      documentation that registered users receive.
  162.  
  163. 5)   You may not  charge a fee  for distribution of this  program
  164.      without permission from  the   publisher.  User  Groups  may
  165.      distribute the program, permission is hereby granted.
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181. Introduction
  182.  
  183. Shareware Registration  . . . . . . . . . . . . . . . . . . .   1
  184.  
  185. Software Support  . . . . . . . . . . . . . . . . . . . . . .   1
  186.  
  187. Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
  188.    Filing and Retrieving Data . . . . . . . . . . . . . . . .   2
  189.    Reports and Labels . . . . . . . . . . . . . . . . . . . .   2
  190.    Word Processing Mailing List Files . . . . . . . . . . . .   3
  191.    Sharing Data With Other Software Programs  . . . . . . . .   3
  192.  
  193. Getting Started with ProFile  . . . . . . . . . . . . . . . .   3
  194.    Making Working Copies  . . . . . . . . . . . . . . . . . .   4
  195.    Installing ProFile on a Hard Disk System . . . . . . . . .   5
  196.  
  197. Starting the Program  . . . . . . . . . . . . . . . . . . . .   5
  198.    Floppy Disk  . . . . . . . . . . . . . . . . . . . . . . .   5
  199.    Hard Disk  . . . . . . . . . . . . . . . . . . . . . . . .   6
  200.    An Important Rule  . . . . . . . . . . . . . . . . . . . .   6
  201.  
  202. Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
  203.  
  204. File Manager  . . . . . . . . . . . . . . . . . . . . . . . .   6
  205.  
  206. Help  . . . . . . . . . . . . . . . . . . . . . . . . . . . .   7
  207.  
  208. Function Keys . . . . . . . . . . . . . . . . . . . . . . . .   8
  209.  
  210. Using ProFile   . . . . . . . . . . . . . . . . . . . . . . .   9
  211.    New Users  . . . . . . . . . . . . . . . . . . . . . . . .   9
  212.    Advanced Users . . . . . . . . . . . . . . . . . . . . . .   9
  213.  
  214.  
  215. Database Design
  216.  
  217. Design a Database . . . . . . . . . . . . . . . . . . . . . .  10
  218.  
  219. Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . .  10
  220.    Common Terms and Conventions . . . . . . . . . . . . . . .  10
  221.    Database Design Function Keys  . . . . . . . . . . . . . .  12
  222.  
  223. Designing The Form  . . . . . . . . . . . . . . . . . . . . .  12
  224.    Getting Started  . . . . . . . . . . . . . . . . . . . . .  13
  225.    Form Not Found . . . . . . . . . . . . . . . . . . . . . .  13
  226.    Modeling a New Form  . . . . . . . . . . . . . . . . . . .  13
  227.    Laying Out the Form  . . . . . . . . . . . . . . . . . . .  14
  228.    Cursor Movement  . . . . . . . . . . . . . . . . . . . . .  14
  229.    Field Prompts  . . . . . . . . . . . . . . . . . . . . . .  16
  230.    Information Blanks . . . . . . . . . . . . . . . . . . . .  16
  231.    Laying Out Calculated and Lookup Fields  . . . . . . . . .  17
  232.    Form Length  . . . . . . . . . . . . . . . . . . . . . . .  18
  233.    Inserting, Deleting, and Copying Form Lines  . . . . . . .  18
  234.    Drawing Boxes  . . . . . . . . . . . . . . . . . . . . . .  18
  235.  
  236.  
  237.  
  238.  
  239.    Form Layout Errors . . . . . . . . . . . . . . . . . . . .  19
  240.  
  241. Assigning Field Attributes  . . . . . . . . . . . . . . . . .  19
  242.    Selecting the Field  . . . . . . . . . . . . . . . . . . .  20
  243.    Field Types  . . . . . . . . . . . . . . . . . . . . . . .  21
  244.    Creating Text and Numeric Fields . . . . . . . . . . . . .  22
  245.    Creating Lookup Fields . . . . . . . . . . . . . . . . . .  26
  246.    Lookup Field Attributes  . . . . . . . . . . . . . . . . .  28
  247.    Stored Lookup Fields . . . . . . . . . . . . . . . . . . .  28
  248.    Lookup Field Guidelines  . . . . . . . . . . . . . . . . .  28
  249.    Creating Calculated Fields . . . . . . . . . . . . . . . .  29
  250.    Using Parentheses and Precedence . . . . . . . . . . . . .  30
  251.    Formula Functions  . . . . . . . . . . . . . . . . . . . .  30
  252.  
  253. Form Design Hints . . . . . . . . . . . . . . . . . . . . . .  31
  254.  
  255. Field Attribute Problems and Errors . . . . . . . . . . . . .  32
  256.  
  257. Data and Index Files  . . . . . . . . . . . . . . . . . . . .  33
  258.    Disabled Lookup Fields . . . . . . . . . . . . . . . . . .  33
  259.  
  260.  
  261. Add Data
  262.  
  263. Add Data  . . . . . . . . . . . . . . . . . . . . . . . . . .  34
  264.    Changing the Data  . . . . . . . . . . . . . . . . . . . .  35
  265.    Entering Information in Formatted Fields . . . . . . . . .  36
  266.    Required, Unique, and Must Fill Fields . . . . . . . . . .  36
  267.    Range Checking . . . . . . . . . . . . . . . . . . . . . .  37
  268.    Lookup Fields  . . . . . . . . . . . . . . . . . . . . . .  37
  269.    Non-stored Fields and Calculated Fields  . . . . . . . . .  37
  270.    Copying Information From the Previous Form . . . . . . . .  38
  271.    The Field Help Line  . . . . . . . . . . . . . . . . . . .  38
  272.    Printing the Form  . . . . . . . . . . . . . . . . . . . .  38
  273.  
  274.  
  275. Edit Data
  276.  
  277. Edit Data   . . . . . . . . . . . . . . . . . . . . . . . . .  40
  278.    About Your Displayed Form  . . . . . . . . . . . . . . . .  40
  279.    The Edit Menu  . . . . . . . . . . . . . . . . . . . . . .  41
  280.    Total, Deleted, and Current Records  . . . . . . . . . . .  41
  281.    Edit an Existing Record  . . . . . . . . . . . . . . . . .  42
  282.    Next and Previous  . . . . . . . . . . . . . . . . . . . .  43
  283.    Search . . . . . . . . . . . . . . . . . . . . . . . . . .  43
  284.    First and Last Record  . . . . . . . . . . . . . . . . . .  44
  285.    Deleting Records . . . . . . . . . . . . . . . . . . . . .  44
  286.    Go To a Record . . . . . . . . . . . . . . . . . . . . . .  44
  287.    Count  . . . . . . . . . . . . . . . . . . . . . . . . . .  44
  288.    Select . . . . . . . . . . . . . . . . . . . . . . . . . .  45
  289.    Index  . . . . . . . . . . . . . . . . . . . . . . . . . .  45
  290.    Printing the Current Form  . . . . . . . . . . . . . . . .  46
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297. The Selection Spec  . . . . . . . . . . . . . . . . . . . . .  46
  298.    Selection Spec Menu  . . . . . . . . . . . . . . . . . . .  46
  299.    Creating a Selection Spec  . . . . . . . . . . . . . . . .  47
  300.    Choosing a Field . . . . . . . . . . . . . . . . . . . . .  47
  301.    Choosing the Comparison  . . . . . . . . . . . . . . . . .  48
  302.    Entering the Comparison Information  . . . . . . . . . . .  49
  303.    Using OR, AND, or END with a Selection Spec  . . . . . . .  50
  304.    Editing the Selection Spec . . . . . . . . . . . . . . . .  51
  305.    Other Important Details  . . . . . . . . . . . . . . . . .  52
  306.  
  307.  
  308. Report
  309.  
  310. Report  . . . . . . . . . . . . . . . . . . . . . . . . . . .  53
  311.  
  312. Report Overview . . . . . . . . . . . . . . . . . . . . . . .  53
  313.    Design a Report  . . . . . . . . . . . . . . . . . . . . .  54
  314.    Entering a Report File Name  . . . . . . . . . . . . . . .  54
  315.  
  316. Report Layout Menu  . . . . . . . . . . . . . . . . . . . . .  54
  317.  
  318. Designing the Report Layout . . . . . . . . . . . . . . . . .  55
  319.    Adding a New Column  . . . . . . . . . . . . . . . . . . .  57
  320.    Report Column Detail . . . . . . . . . . . . . . . . . . .  57
  321.    Report Column Guidelines . . . . . . . . . . . . . . . . .  59
  322.  
  323. Report Calculation Options  . . . . . . . . . . . . . . . . .  59
  324.    Report Finals  . . . . . . . . . . . . . . . . . . . . . .  60
  325.    Report Subcalculations . . . . . . . . . . . . . . . . . .  60
  326.  
  327. Calculated Columns  . . . . . . . . . . . . . . . . . . . . .  61
  328.    Creating Formulas  . . . . . . . . . . . . . . . . . . . .  63
  329.    Self Referencing Columns . . . . . . . . . . . . . . . . .  64
  330.    Error Messages for Formulas  . . . . . . . . . . . . . . .  64
  331.    Invisible Columns  . . . . . . . . . . . . . . . . . . . .  64
  332.  
  333. Column Headings . . . . . . . . . . . . . . . . . . . . . . .  65
  334.  
  335. Report Menu . . . . . . . . . . . . . . . . . . . . . . . . .  65
  336.  
  337. Format  . . . . . . . . . . . . . . . . . . . . . . . . . . .  67
  338.    Format Options . . . . . . . . . . . . . . . . . . . . . .  68
  339.  
  340. Report Headers and Footers  . . . . . . . . . . . . . . . . .  69
  341.    Entering Headers and Footers . . . . . . . . . . . . . . .  69
  342.    Header and Footer Keywords . . . . . . . . . . . . . . . .  70
  343.  
  344. Selection Spec  . . . . . . . . . . . . . . . . . . . . . . .  71
  345.    Using an Existing Selection Spec . . . . . . . . . . . . .  71
  346.    Creating a Selection Spec  . . . . . . . . . . . . . . . .  71
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355. Sort Spec . . . . . . . . . . . . . . . . . . . . . . . . . .  71
  356.  
  357. Sort Spec Menu  . . . . . . . . . . . . . . . . . . . . . . .  73
  358.    Creating A Sort Spec . . . . . . . . . . . . . . . . . . .  73
  359.    Sorting Limits . . . . . . . . . . . . . . . . . . . . . .  74
  360.    Report Sort  . . . . . . . . . . . . . . . . . . . . . . .  74
  361.  
  362. Sorting the Data  . . . . . . . . . . . . . . . . . . . . . .  75
  363.  
  364. Printing the Report . . . . . . . . . . . . . . . . . . . . .  76
  365.  
  366. Redesigning an Existing Report  . . . . . . . . . . . . . . .  76
  367.  
  368. Printing an Existing Report . . . . . . . . . . . . . . . . .  77
  369.  
  370.  
  371. Labels
  372.  
  373. Labels  . . . . . . . . . . . . . . . . . . . . . . . . . . .  78
  374.    Getting Started with Labels  . . . . . . . . . . . . . . .  78
  375.    Design a Label . . . . . . . . . . . . . . . . . . . . . .  78
  376.    Entering a Label File Name . . . . . . . . . . . . . . . .  78
  377.  
  378. Creating the Label  . . . . . . . . . . . . . . . . . . . . .  79
  379.    Choosing the Label Size  . . . . . . . . . . . . . . . . .  79
  380.    Label Layout . . . . . . . . . . . . . . . . . . . . . . .  80
  381.    Editing Keys . . . . . . . . . . . . . . . . . . . . . . .  82
  382.    Inserting and Deleting Lines . . . . . . . . . . . . . . .  83
  383.    Viewing the Form . . . . . . . . . . . . . . . . . . . . .  83
  384.    Free-Form Labels . . . . . . . . . . . . . . . . . . . . .  83
  385.    Checking the Field Names . . . . . . . . . . . . . . . . .  83
  386.  
  387. Label Menu  . . . . . . . . . . . . . . . . . . . . . . . . .  84
  388.  
  389. Label Format  . . . . . . . . . . . . . . . . . . . . . . . .  84
  390.    Formatting Standard Labels . . . . . . . . . . . . . . . .  84
  391.    Label Text Length  . . . . . . . . . . . . . . . . . . . .  85
  392.    Label Format Function  . . . . . . . . . . . . . . . . . .  86
  393.  
  394. Selection Spec  . . . . . . . . . . . . . . . . . . . . . . .  88
  395.    Using an Existing Selection Spec . . . . . . . . . . . . .  88
  396.    Creating a Selection Spec  . . . . . . . . . . . . . . . .  89
  397.  
  398. Sort Spec . . . . . . . . . . . . . . . . . . . . . . . . . .  89
  399.  
  400. Bulk Mail Sort  . . . . . . . . . . . . . . . . . . . . . . .  90
  401.  
  402. Printing the Labels . . . . . . . . . . . . . . . . . . . . .  91
  403.    Testing your Label Alignment . . . . . . . . . . . . . . .  91
  404.    Stopping the Print . . . . . . . . . . . . . . . . . . . .  91
  405.  
  406. Redesigning an Existing Label . . . . . . . . . . . . . . . .  92
  407.  
  408. Printing an Existing Label Design . . . . . . . . . . . . . .  92
  409.  
  410.  
  411.  
  412.  
  413. MailMerge
  414.  
  415. Word Processing MailMerge . . . . . . . . . . . . . . . . . .  93
  416.  
  417. MailMerge Options . . . . . . . . . . . . . . . . . . . . . .  93
  418.    MailMerge Format . . . . . . . . . . . . . . . . . . . . .  93
  419.    WordStar . . . . . . . . . . . . . . . . . . . . . . . . .  94
  420.    WordPerfect  . . . . . . . . . . . . . . . . . . . . . . .  95
  421.    DEC WPS  . . . . . . . . . . . . . . . . . . . . . . . . .  95
  422.    MultiMate  . . . . . . . . . . . . . . . . . . . . . . . .  95
  423.    PC-Write . . . . . . . . . . . . . . . . . . . . . . . . .  96
  424.  
  425. Sort and Selection Specs  . . . . . . . . . . . . . . . . . .  96
  426.    Use Selection Spec . . . . . . . . . . . . . . . . . . . .  96
  427.    Use Sort Spec  . . . . . . . . . . . . . . . . . . . . . .  96
  428.  
  429. MailMerge File Name . . . . . . . . . . . . . . . . . . . . .  96
  430.  
  431. During MailMerge File Creation  . . . . . . . . . . . . . . .  96
  432.  
  433.  
  434. Import
  435.  
  436. Import  . . . . . . . . . . . . . . . . . . . . . . . . . . .  97
  437.  
  438. Floppy Disk Systems . . . . . . . . . . . . . . . . . . . . .  97
  439.  
  440. ASCII File Types  . . . . . . . . . . . . . . . . . . . . . .  97
  441.    Standard Data Format . . . . . . . . . . . . . . . . . . .  97
  442.    Comma Delimited  . . . . . . . . . . . . . . . . . . . . .  98
  443.    One-Field-Per-Line . . . . . . . . . . . . . . . . . . . .  98
  444.  
  445. Importing Data  . . . . . . . . . . . . . . . . . . . . . . .  99
  446.  
  447. ASCII File Format . . . . . . . . . . . . . . . . . . . . . . 100
  448.    Use Selection Spec . . . . . . . . . . . . . . . . . . . . 100
  449.    ASCII File Name  . . . . . . . . . . . . . . . . . . . . . 100
  450.  
  451. Standard Data Format Field Lengths  . . . . . . . . . . . . . 100
  452.  
  453. Merge Spec  . . . . . . . . . . . . . . . . . . . . . . . . . 101
  454.  
  455. During the Import . . . . . . . . . . . . . . . . . . . . . . 102
  456.  
  457.  
  458. Export
  459.  
  460. Export  . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
  461.  
  462. Exporting Data  . . . . . . . . . . . . . . . . . . . . . . . 103
  463.    ASCII File Format  . . . . . . . . . . . . . . . . . . . . 103
  464.  
  465. Use Selection Spec  . . . . . . . . . . . . . . . . . . . . . 103
  466.  
  467.  
  468.  
  469.  
  470.  
  471. Use Sort Spec . . . . . . . . . . . . . . . . . . . . . . . . 103
  472.    ASCII File Name  . . . . . . . . . . . . . . . . . . . . . 103
  473.  
  474. About Sort and Selection Specs  . . . . . . . . . . . . . . . 104
  475.  
  476. Floppy Disk Systems . . . . . . . . . . . . . . . . . . . . . 104
  477.  
  478. During the Export . . . . . . . . . . . . . . . . . . . . . . 104
  479.  
  480.  
  481. Copy Data
  482.  
  483. Copy Data . . . . . . . . . . . . . . . . . . . . . . . . . . 105
  484.  
  485. Floppy Disk Systems . . . . . . . . . . . . . . . . . . . . . 105
  486.  
  487. Copying Data  . . . . . . . . . . . . . . . . . . . . . . . . 105
  488.    Copy From [Form Name]  . . . . . . . . . . . . . . . . . . 105
  489.    Use Selection Spec . . . . . . . . . . . . . . . . . . . . 106
  490.  
  491. During the Copy . . . . . . . . . . . . . . . . . . . . . . . 106
  492.  
  493.  
  494. Utilities
  495.  
  496. Global Update . . . . . . . . . . . . . . . . . . . . . . . . 107
  497.    Using a Selection Spec . . . . . . . . . . . . . . . . . . 107
  498.    Entering Global Changes  . . . . . . . . . . . . . . . . . 107
  499.    During the Update Process  . . . . . . . . . . . . . . . . 108
  500.  
  501. Global Delete . . . . . . . . . . . . . . . . . . . . . . . . 110
  502.    During the Global Delete . . . . . . . . . . . . . . . . . 110
  503.  
  504. Index the Database  . . . . . . . . . . . . . . . . . . . . . 110
  505.  
  506. Pack the Database . . . . . . . . . . . . . . . . . . . . . . 111
  507.  
  508. Backup  . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
  509.    How Backup Works . . . . . . . . . . . . . . . . . . . . . 112
  510.    Recovering a Backup Database . . . . . . . . . . . . . . . 112
  511.    Floppy Disk Systems  . . . . . . . . . . . . . . . . . . . 113
  512.    Entering the Disk and Path Name  . . . . . . . . . . . . . 113
  513.    During the Backup  . . . . . . . . . . . . . . . . . . . . 113
  514.    Problems and Errors  . . . . . . . . . . . . . . . . . . . 113
  515.  
  516. Printer Setup . . . . . . . . . . . . . . . . . . . . . . . . 114
  517.    Parallel Printers  . . . . . . . . . . . . . . . . . . . . 114
  518.    Serial Printers  . . . . . . . . . . . . . . . . . . . . . 115
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529. Advanced Database Design
  530.  
  531. Advanced Database Design  . . . . . . . . . . . . . . . . . . 116
  532.  
  533. Changing a Database Design  . . . . . . . . . . . . . . . . . 116
  534.  
  535. Editing the Form Layout . . . . . . . . . . . . . . . . . . . 117
  536.    Moving a Field . . . . . . . . . . . . . . . . . . . . . . 117
  537.    Adding a Field . . . . . . . . . . . . . . . . . . . . . . 118
  538.    Deleting a Field . . . . . . . . . . . . . . . . . . . . . 118
  539.    Changing Field Length  . . . . . . . . . . . . . . . . . . 118
  540.    Changing Field Attributes  . . . . . . . . . . . . . . . . 119
  541.  
  542. Form Options  . . . . . . . . . . . . . . . . . . . . . . . . 120
  543.    Change the Display Name  . . . . . . . . . . . . . . . . . 120
  544.    Current Increment Value  . . . . . . . . . . . . . . . . . 121
  545.  
  546. Default Form Values . . . . . . . . . . . . . . . . . . . . . 122
  547.  
  548. Glossary  . . . . . . . . . . . . . . . . . . . . . . . . . . 123
  549.  
  550. Files that ProFile Uses . . . . . . . . . . . . . . . . . . . 127
  551.    Database Files . . . . . . . . . . . . . . . . . . . . . . 127
  552.    Program Files  . . . . . . . . . . . . . . . . . . . . . . 127
  553.  
  554. Error Messages  . . . . . . . . . . . . . . . . . . . . . . . 128
  555.    When You Have an Error . . . . . . . . . . . . . . . . . . 128
  556.  
  557. Disk and Printer Error Messages . . . . . . . . . . . . . . . 128
  558.    Recovering from Disk Full  . . . . . . . . . . . . . . . . 129
  559.  
  560. Other Disk Errors . . . . . . . . . . . . . . . . . . . . . . 130
  561.  
  562. Sort Error Messages . . . . . . . . . . . . . . . . . . . . . 131
  563.  
  564. System Error Messages . . . . . . . . . . . . . . . . . . . . 132
  565.  
  566. Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587. ProFile                                          Introduction   1
  588.  
  589.  
  590. Shareware Registration
  591.  
  592. Shareware is a new  concept in the distribution and  marketing of
  593. programs.  It allows you to use  the software first and then make
  594. a decision to purchase the program.
  595.  
  596. ProFile  is  distributed  and   marketed  through  the  shareware
  597. concept.   You may copy  the program and  give it to  a friend or
  598. colleague  for evaluation.   Or, you  may purchase  an evaluation
  599. copy of  the program directly from us,  National Software Design,
  600. for $10.00.   You are encouraged to copy the program and share it
  601. with others.  Once you have evaluated the package and find  it to
  602. your  liking,  please register  with us.    You will  receive the
  603. following benefits:
  604.  
  605. o  A    printed,   current    manual   with   examples,   detailed
  606.    illustrations and a full index.
  607.  
  608. o  The latest version of the program.
  609.  
  610. o  Program update notices will be sent directly to you.
  611.  
  612. See PF-READ.ME for current registration costs.
  613.  
  614.  
  615. Software Support
  616.  
  617. Software support is available for registered users and for a user
  618. during the 30  day evaluation  period.  You  may receive  support
  619. through CompuServe.  For assistance,  simply send an EMail, along
  620. with your name  and program serial  number to User ID  #76464,303
  621. (Lee Raesly).  Your questions will be answered promptly.
  622.  
  623. Users may also  obtain software support through our support line,
  624. 301 299-7042.  Support hours are from 3:30 PM to 8:30 PM EST.
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645. Introduction   2                                          ProFile
  646.  
  647.  
  648. Introduction
  649.  
  650. The ProFile Professional  Filing System  is a sophisticated  tool
  651. designed  to  help  you  keep  track  of  the  people,  customers
  652. information and data that are important to you.   Any information
  653. can be filed and maintained.
  654.  
  655. You  may  link multiple  databases  together.   For  instance,  a
  656. customer invoice database  may be linked  to a customer file  and
  657. inventory file.  Calculations can now be done in a database form.
  658. In the  above example, the invoice form can automatically compute
  659. and total costs for you.
  660.  
  661. ProFile  allows  you  to file  and  retrieve  information, create
  662. meaningful  reports,  and  print  labels.    And,  it  can  share
  663. information with other software programs, such as word processors
  664. or spreadsheets.  It can also help you prepare bulk mailings with
  665. its advanced bulk mail sort.
  666.  
  667. The  program  is designed  so  you  can get  started  quickly and
  668. easily.  After you are  comfortable with the system you  may then
  669. expand to use its  more powerful features  as you need them.   No
  670. computer experience  is required and  help is  only a  key-stroke
  671. away, any time you need it.
  672.  
  673.  
  674. Filing and Retrieving Data
  675.  
  676. ProFile helps  you design databases that can hold any information
  677. you wish.  Examples  would be customer lists,  employee lists, or
  678. expense records.
  679.  
  680. The first step in creating a database is to design a form on your
  681. computer screen.  For  instance, to create  a customer list,  you
  682. would  design  a  form  that would  contain  the  customer  name,
  683. address, and perhaps  a telephone  number.  You  then enter  your
  684. customers into the form.
  685.  
  686. ProFile automatically stores  this information and will  retrieve
  687. it  when you need it.  You could  look for a single customer or a
  688. specific group of customers.  You may search, sort,  and retrieve
  689. the customer  list in  any way you  want.  And  the forms  can be
  690. redesigned if your needs change.  For  instance you may later add
  691. a sales field to track the sales of each customer in your list.
  692.  
  693.  
  694. Reports and Labels
  695.  
  696. ProFile  lets  you  take  information  from a  ProFile  database,
  697. arrange  the information so that  it makes sense  to you and then
  698. display or  print  the information  in  a columnar  format.   You
  699.  
  700.  
  701.  
  702.  
  703. ProFile                                          Introduction   3
  704.  
  705.  
  706. choose what information should be included  in the report and how
  707. it should  be organized.   You may  use  ProFile's more  powerful
  708. features  for  your reports;  derived  columns and  calculations,
  709. custom headings and report subtotals  and summaries.  The reports
  710. are saved for you to use any time you would like.
  711.  
  712. ProFile   also   offers   you    sophisticated   label   printing
  713. capabilities.  Labels are designed with the aid of the computer.
  714. They can include any information in  your database or other text,
  715. such  as  a message  for the  recipient  or your  return address.
  716. Mailing labels  can  be printed  up  to four  across  and can  be
  717. organized in any order including  bulk mail order.  Label formats
  718. are saved and available to be used or changed as you like.
  719.  
  720.  
  721. Word Processing Mailing List Files
  722.  
  723. ProFile  can share information  in your  database with  many word
  724. processing programs.  Using our customer list example, this means
  725. that  you   can  use  your  favorite  word  processor  to  create
  726. personalized letters  while letting  ProFile manage  the customer
  727. information.   It   will  create   a  mailmerge   file  that   is
  728. specifically designed to work with your word processor.  The file
  729. can  contain  only  those customers  that  you  pick  and can  be
  730. organized in any order that you wish, including bulk mail order.
  731.  
  732.  
  733. Sharing Data With Other Software Programs
  734.  
  735. ProFile offers  a series  of functions  that allow  you to  share
  736. information  with  other   programs  such  as   word  processors,
  737. spreadsheets, or other database managers.
  738.  
  739. Programs  that  ProFile  works with  include  Lotus  1-2-3, dBase
  740. II/III,  Condor,  Wordstar,  Multimate,   and  WordPerfect.    In
  741. addition, ProFile has  powerful Import and Export  functions that
  742. allows  it to share  data with most  programs that  can work with
  743. ASCII files.
  744.  
  745.  
  746. Getting Started with ProFile
  747.  
  748. The ProFile distribution diskettes include the following:
  749.  
  750. o  The program files
  751.  
  752. o  Disk-based documentation and sample databases
  753.  
  754. o  Registration form (see PF-READ.ME)
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761. Introduction   4                                          ProFile
  762.  
  763.  
  764. ProFile works on the following equipment:
  765.  
  766. o  Any  IBM PC, IBM PC-XT,  IBM PC-AT, or compatible computer with
  767.    either a  hard disk  and one  floppy disk drive  or two  floppy
  768.    disks drives and a minimum of 320 KB of internal memory.
  769.  
  770. o  MS-DOS operating system Version 2.0 or later
  771.  
  772. o  An 80 column color or monochrome monitor
  773.  
  774. o  A printer
  775.  
  776. Getting Started
  777.  
  778. 1.   Make a working copy of the program and sample database disks
  779.      or copy it onto your hard disk.
  780.  
  781. 2.   Check to see that the program  works properly with your con-
  782.      figuration.
  783.  
  784.  
  785. Making Working Copies
  786.  
  787. The prudent computer user will ALWAYS  make working copies of the
  788. ProFile master disks and  use the copies rather than  the masters
  789. for everyday  use.   Making  the working  copies is  simple.   To
  790. prepare, format two new diskettes.  Then copy the files  from the
  791. ProFile master disks to the newly formatted disks.
  792.  
  793. Making Working Copies on a Two Floppy Disk System:
  794.  
  795. 1.   Make certain  that the master  disks are write  protected to
  796.      prevent accidental erasure.   You can check this  by looking
  797.      to see if the write-protect  notch on the right side  of the
  798.      disk is covered by a tab.  If it isn't, cover it now.
  799.  
  800. 2.   Insert  your DOS system  disk in  drive A:  and turn  on the
  801.      system.
  802.  
  803. 3.   When the A>  prompt appears, put a new diskette in drive B:.
  804.      Then type:
  805.  
  806.      Format B: [ENTER]
  807.  
  808.      Do this twice.
  809.      Label the first disk -        ProFile PROGRAM DISK.
  810.  
  811.      Label the second disk -  ProFile DOCUMENTATION DISK.
  812.  
  813.      When  DOS  asks if  you would  like  to format  another disk
  814.      answer No.
  815.  
  816.  
  817.  
  818.  
  819. ProFile                                          Introduction   5
  820.  
  821.  
  822.  
  823. 4.   Insert the original ProFile PROGRAM DISK in drive A: and the
  824.      newly formatted  disk in drive B:.   Type COPY A:*.*  B: and
  825.      then press [ENTER].  After all of the files have been copied
  826.      remove the  disks. Repeat  this procedure  with the  ProFile
  827.      DOCUMENTATION DISK.
  828.  
  829.  
  830. Installing ProFile on a Hard Disk System
  831.  
  832. If you  have a computer with a hard disk, it is simple to install
  833. ProFile on  it.  Once it's  installed you'll enjoy  the speed and
  834. convenience of running ProFile.  You'll also be able to work with
  835. much  larger files  of  information.  The following  instructions
  836. assume  the hard disk  is called C: and  it's formatted and ready
  837. for use.
  838.  
  839. 1.   Make certain that the Master  disks are write- protected  to
  840.      prevent accidental  erasure.  You can check  this by looking
  841.      to see if the  write-protect notch on the right side  of the
  842.      disk is covered by a tab.  If it isn't, cover it now.
  843.  
  844. 2.   Insert  the  disk ProFile  DOCUMENTATION  DISK in  drive A:.
  845.      Type  INSTALL and then  press [ENTER].   ProFile's hard disk
  846.      installation program will  now copy the software to the hard
  847.      disk for you.
  848.  
  849. When  you are done, you're ready to use ProFile directly from the
  850. hard disk.  Don't forget  to store  the master  disks  in a  safe
  851. place.
  852.  
  853. Starting the Program
  854.  
  855. You are now ready to use ProFile  with either your floppy disk or
  856. hard disk system.  Here's how:
  857.  
  858.  
  859. Floppy Disk
  860.  
  861. 1.   Put  your  working copy  labeled ProFile  PROGRAM DISK  in
  862.      Drive  A:.   When the A> prompt  appears type PF  and then
  863.      press [ENTER].
  864.  
  865. Always keep the ProFile PROGRAM DISK in Drive A:.  Remove it only
  866. if the program tells you that  it is OK, for example to create  a
  867. word processing merge file on a separate disk.
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877. Introduction   6                                          ProFile
  878.  
  879.  
  880. Hard Disk
  881.  
  882. 1.   Turn on your  computer system.   When the C: prompt  appears
  883.      type PF and then press [ENTER].
  884.  
  885.  
  886. An Important Rule
  887.  
  888. ProFile  automatically  saves  your  data   when  you  are  enter
  889. information.  At every  fifth record that you enter,  the program
  890. closes the database files and then re-opens them.  This puts  the
  891. information permanently on your disk.
  892.  
  893. Although ProFile  saves your data  frequently, it keeps  track of
  894. many things. The  program must  be exited properly  so that  your
  895. information isn't  accidentally corrupted.   Any  sudden loss  of
  896. power could potentially damage the  information in your database.
  897. Follow these precautions:
  898.  
  899. 1.   NEVER,  EVER  turn  off  the  computer  system  or  reboot
  900.      without  first exiting  ProFile and  returning to  the DOS
  901.      prompt.
  902.  
  903. 2.   Make  frequent backups  of your database  using the Backup
  904.      option  on  the Utilities  Menu (this  includes hard  disk
  905.      users).   See the Utilities section titled Backup for more
  906.      information on this important safety step.
  907.  
  908.  
  909. Menus
  910.  
  911. Menus provide  an easy way  for you to  tell ProFile what  to do.
  912. ProFile uses two types  of menus: "moving cursor" bar  menu's and
  913. pop-up menus.  The moving cursor bar highlights your choice and a
  914. short explanation of  your choice  appears at the  bottom of  the
  915. menu.   The pop-up menus are  similar to moving cursor  menus but
  916. "pop-up" in a box.
  917.  
  918. With either menu, to  make a menu selection move  the cursor with
  919. the arrow keys, space  bar, or tab key to the item of your choice
  920. and press [ENTER].  Or, type  the highlighted letter of your menu
  921. choice.
  922.  
  923.  
  924. File Manager
  925.  
  926. The  File Manager  function is  used by ProFile  to automatically
  927. display all  of the  files that  are available  for a  particular
  928. function.   For instance, if you need to enter a report filename,
  929. it will list only those files that are reports.
  930.  
  931.  
  932.  
  933.  
  934.  
  935. ProFile                                          Introduction   7
  936.  
  937.  
  938. Entering a File Name
  939.  
  940. To enter  a file name, either move the  cursor bar to highlight a
  941. file name or type in  its name at the prompt.  File  names can be
  942. up to eight characters long (no spaces, commas, periods, question
  943. marks, or asterisks  "*") plus an optional 3  character extension
  944. and may be preceded by  a disk drive and path name.
  945.  
  946. F2- Directory
  947.  
  948. Used to view a  list of files  on another drive or  subdirectory.
  949. Enter  the  new   drive  and  path  name,   then  press  [ENTER].
  950. Optionally,   enter  the  wild   card  designator   asterisk  "*"
  951. (anything)  or  question  mark  "?"  (any  character)  to  see  a
  952. selective list of files.
  953.  
  954. If you have  pressed F2 by mistake, just press [ENTER] to go back
  955. to the enter file name prompt.
  956.  
  957. F4- Copy
  958.  
  959. This key  will copy the highlighted file to  a new name.  To use,
  960. move the cursor bar to the file to be copied and press F4.  Next,
  961. enter in  a new file name,  (which may be preceded by  a new path
  962. and drive).
  963.  
  964. F5- Delete
  965.  
  966. Used to delete  the currently highlighted file.  To use, move the
  967. cursor bar to the file to be deleted and press F5.
  968.  
  969. F8- Rename
  970.  
  971. Renames the currently highlighted drive.  To use, move the cursor
  972. bar to the file  to be renamed and press F8.   Enter the new file
  973. name and press [ENTER].
  974.  
  975.  
  976. Help
  977.  
  978. Pressing  the  F1 function  key brings  up  help on  your current
  979. activity.  All of the information that you should need is at your
  980. finger-tips through the on-line help key. To exit Help, press the
  981. Esc key.
  982.  
  983. Once the Help screen comes up you have four choices:
  984.  
  985. Next  Page- Next (or  Pg Dn) brings  up the next  screen in Help.
  986. Usually this is a  continuation of the current topic.   Sometimes
  987. it may be the start of a new topic.
  988.  
  989.  
  990.  
  991.  
  992.  
  993. Introduction   8                                          ProFile
  994.  
  995.  
  996. Previous Page- Previous (or Pg Dn)  brings up the previous screen
  997. in Help.  This might be on the current topic or it may be  a page
  998. of another help item.
  999.  
  1000. General Topics and Advanced Topics
  1001.  
  1002. Either of these two choices  bring you to an index of  all of the
  1003. major Help items.   Just select from  the menu the topic  of your
  1004. choice and you will receive help on that subject.
  1005.  
  1006.  
  1007. Function Keys
  1008.  
  1009. ProFile uses the same keys to accomplish similar tasks throughout
  1010. the program.  Occasionally the action  of a function key changes.
  1011. The function key help line at the bottom of the screen lists what
  1012. function keys are available and what action they perform.
  1013.  
  1014. Certain keys always have the same meaning:
  1015.  
  1016. [<--]        Backspace  key will delete  characters to the left of
  1017.              the cursor.
  1018.  
  1019. [-->|]       Tab  key will  usually move  the  cursor to  the next
  1020.              field or choice.
  1021.  
  1022. [|<--]       Shift tab  key will  usually move  the cursor to  the
  1023.              previous field.
  1024.  
  1025. [Ins]        Will toggle the  program between insert and  typeover
  1026.              mode.   The  program defaults  to insert mode.   When
  1027.              toggled  to typeover,  OVR will  appear in  the upper
  1028.              right-hand corner of the screen.
  1029.  
  1030. [Del]        Deletes the character under the cursor.
  1031.  
  1032. Arrow        Move the cursor around the form.
  1033. Keys
  1034.  
  1035. [^->]        (Ctrl-Right  Arrow or  ^F) Moves to the  next word in
  1036.              text fields.
  1037.  
  1038. [^<-]        (Ctrl-Left  Arrow or  ^A) Moves to  the previous word
  1039.              in text fields.
  1040.  
  1041. [^Home]      Deletes  all  the  characters to  the  right  of  the
  1042.              cursor.
  1043.  
  1044. [Home]       Moves to the beginning  of a field or  the top of the
  1045.              database form.
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051. ProFile                                          Introduction   9
  1052.  
  1053.  
  1054. [End]        Moves  to  the end  of a  field or  to the  end of  a
  1055.              database form.
  1056.  
  1057. [Esc]        Always  lets you  exit what  you are doing.   ProFile
  1058.              will always prompt  you if your  work will be changed
  1059.              or needs to be saved.
  1060.  
  1061.  
  1062. Using ProFile
  1063.  
  1064. OK, you've read  the introduction and  are ready to get  started.
  1065. What next?  Well,  that depends if  you are just getting  started
  1066. with  computers or are a computer expert.   If you're a new user,
  1067. follow the  instruction in the  next paragraph titled  New Users.
  1068. If you're an expert,  read the Advanced Users paragraph.   If you
  1069. don't know  where you stand, start with  the New User section and
  1070. progress from there.
  1071.  
  1072.  
  1073. New Users-
  1074.  
  1075. ProFile was  designed to  be easy for  the new  user to  operate.
  1076. But, like anything, a little  practice goes a long way.   If your
  1077. style  is  to get  right to  it,  then review  the  Advanced User
  1078. paragraph  below.   Also consider  reading  the Designing  a Form
  1079. section in the manual for some valuable tips  that might save you
  1080. time later.  If you  like a more structured approach,  follow the
  1081. outline listed below:
  1082.  
  1083. 1.   Read through the manual, following the tutorials as they are
  1084.      presented and follow the examples.
  1085.  
  1086. 2.   Work  with the sample databases on the DOCUMENTATION DISK to
  1087.      practice using ProFile's many features.
  1088.  
  1089.  
  1090. Advanced Users-
  1091.  
  1092. ProFile's  "user  interface"  follows  many  of  the  programming
  1093. conventions set by  other programs.   This means  once you  start
  1094. using it you are likely to find that you have an "intuitive feel"
  1095. for the program.    To get started  read the section titled  Help
  1096. and then look at the following items:
  1097.  
  1098. 1.   Work  with  the  Sample  Databases  Disk to  practice  using
  1099.      ProFile's advanced features.
  1100.  
  1101. 2.   Use the Table of Contents  and the Index to learn about  any
  1102.      functions you would like to use.
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109. Database Design   10                                      ProFile
  1110.  
  1111.  
  1112. Design a Database
  1113.  
  1114. Here is a  summary of the  steps that you  will need to  create a
  1115. working  database.   They've been  provided  here to  give  you a
  1116. global view of  the process.  Each  step (and all  of the  terms)
  1117. will be gone over in detail in the sections that follow.
  1118.  
  1119. There are basic steps to designing a ProFile database:
  1120.  
  1121. 1.   Design  the form.   Lay out  the field  prompts, information
  1122.      blanks, and any messages.
  1123.  
  1124. 2.   Assign  the field types,  attributes, and  special functions
  1125.      (i.e. lookup or calculated fields).
  1126.  
  1127. Simple enough, so we'll get started.
  1128.  
  1129.  
  1130. Forms
  1131.  
  1132. A form  is the heart  of a ProFile Database.   A ProFile Database
  1133. Form allows you to  enter information and then store  or retrieve
  1134. it.  A ProFile Form can look like forms that you fill out and use
  1135. every day  such as  a credit  application, magazine  subscription
  1136. form, or any other form you can think of.
  1137.  
  1138. The first  step in designing a ProFile  database is to design the
  1139. form that the  database will use.   Throughout this manual  we'll
  1140. use a form we've designed for  a customer mailing list.  It  will
  1141. be used for examples as you proceed through the steps to create a
  1142. database.  If you want to use  another form that you've designed,
  1143. go ahead.  The object  is to get some practical  experience using
  1144. ProFile.
  1145.  
  1146. If you're designing your  own form, sketch it out on paper first.
  1147. Decide what  information you'd  like to  keep track  of and  what
  1148. labels  (field  names) you  will  use  to prompt  for  data.  For
  1149. example, you might  use Customer Name   to prompt for  a customer
  1150. name.  See page #33 for some tips on laying out your forms.
  1151.  
  1152. After you've completed  your sketch,  you are ready  to enter  it
  1153. into the computer.
  1154.  
  1155.  
  1156. Common Terms and Conventions
  1157.  
  1158. Before you  get started,  take a  minute to  review a  few common
  1159. terms and conventions that we will  use to describe the different
  1160. parts and processes  of the  ProFile program.   These terms  will
  1161. make it easier to design a form and then to use the program.  See
  1162. figure #1 for an idea of what a sample form might look like.
  1163.  
  1164.  
  1165.  
  1166.  
  1167. ProFile                                      Database Design   11
  1168.  
  1169.  
  1170.  
  1171. Field
  1172. Prompt-   This tells  what kind of  information should go  in the
  1173.           blank following it.  For example,  in the customer list
  1174.           form  shown below, First Name, City,  and State are all
  1175.           field names.  Field prompts are optional.
  1176.  
  1177. Information
  1178. Blank-    This is the blank that follows  the field prompt.  Data
  1179.           is the information that goes into the field blank.
  1180.  
  1181. Record-   A record (or  completed form) is  a form with the  data
  1182.           entered in it.  We will use  the term "record" to refer
  1183.           to the data  that goes in a form and the term "form" to
  1184.           refer to the form that appears on the screen.
  1185.  
  1186. Form-     A series  of  fields arranged  on  the screen  so  that
  1187.           information can be entered into it.
  1188.  
  1189. A database consists of three types  of files- one Form Definition
  1190. file, one Data  file, and Index  files.  After you have  designed
  1191. the form, ProFile automatically maintains these files for you.
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.                       Figure 1: Example form
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225. Database Design   12                                      ProFile
  1226.  
  1227.  
  1228.  
  1229. Form Definition
  1230. File-          This is the  file that holds the  form itself plus
  1231.                other  information  that   is  important  to   the
  1232.                database,  such  as the  length  and type  of each
  1233.                field.
  1234. Data
  1235. File-          A collection of records on disk.
  1236.  
  1237.  
  1238. Index File-    ProFile uses  an a separate file to keep  track of
  1239.                the order of the information in the data file.  It
  1240.                works like the index  in the back of  this manual,
  1241.                which  allows   you  to   quickly  find   specific
  1242.                information on  this program.   You may  designate
  1243.                multiple indexes for a database.
  1244.  
  1245.  
  1246. Will You be Tested?
  1247.  
  1248. Of course  not.  So don't  bother to memorize  any of  the terms.
  1249. Just get an idea to what they refer to, and if you must, mark the
  1250. page for reference.  This manual has been written so it's easy to
  1251. learn and the meaning of a term should be obvious in  the context
  1252. in which it's used.
  1253.  
  1254.  
  1255. Top Line Tells Where You Are
  1256.  
  1257. The  top line of  the screen always  tells you where  you are and
  1258. also lists the database name (which you choose, of course).
  1259.  
  1260.  
  1261. Database Design Function Keys
  1262.  
  1263. Use [ESC] to cancel anything that  you don't want to do.  ProFile
  1264. will  prompt  you first  to make  certain  you don't  do anything
  1265. disastrous or unintended.
  1266.  
  1267. The function key help line, which  appears at the bottom of  most
  1268. screens, will tell you the current function key assignments.
  1269.  
  1270.  
  1271. Designing The Form
  1272.  
  1273. There are two steps to design a form:
  1274.  
  1275. 1.   Design the form.
  1276.  
  1277. 2.   Assign the field attributes.
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283. ProFile                                      Database Design   13
  1284.  
  1285.  
  1286. Getting Started
  1287.  
  1288. To  design  the  form  you  must first  get  to  the  Load  File-
  1289. Definition screen.  Here's how:
  1290.  
  1291. Start the program  by typing PF at  the DOS prompt.  If  you have
  1292. problems  starting  the  program refer  the  file  PF-READ.ME for
  1293. installation instructions.  After the copyright notice, the first
  1294. screen that you see is the Load File- Definition screen.  This is
  1295. the File Manager function discussed in the introduction.
  1296.  
  1297. The File Manager  explains that a  form definition file is  where
  1298. your  specifications  for  your  form  are   kept.   If  you  had
  1299. previously designed a form you could  enter an existing name now.
  1300. Since  we are designing  a new one,  pick an unused  name for the
  1301. form and enter it here, pressing [ENTER] when you're done.
  1302.  
  1303. NOTE-   To  see or  use a different  directory or drive,  press F2
  1304.         and  enter  the  new  drive  and  path  name,  then  press
  1305.         [ENTER].   ProFile  will  then display  all  of  the  Form
  1306.         Definition  files on the new drive or path name.  See page
  1307.         #8  in the  Introduction for more information  on the File
  1308.         Manager function.
  1309.  
  1310.  
  1311. Form Not Found
  1312.  
  1313. At  this point, ProFile tells you that the form you requested was
  1314. not found.  Press  "Y" to start the design process and create the
  1315. new form.  Press "N" to choose another name.
  1316.  
  1317.  
  1318. Modeling a New Form
  1319.  
  1320. The next question is whether you would like to model the new form
  1321. after an existing one.
  1322.  
  1323. Many times when  a new database is created, it is easier to model
  1324. it  after an existing form.  For instance, if you have a customer
  1325. database for all companies on the East Coast and decide to create
  1326. another one for  all companies on the West Coast, you may use the
  1327. modeling option to shorten the design process.
  1328.  
  1329. To model a form:
  1330.  
  1331. 1.   Type Yes to model a form.
  1332.  
  1333. 2.   Type in the existing form name and then press [ENTER].
  1334.  
  1335. 3.   At the prompt OK to Continue enter Yes to continue, or No to
  1336.      enter another  file name.   If you  want to change  the form
  1337.  
  1338.  
  1339.  
  1340.  
  1341. Database Design   14                                      ProFile
  1342.  
  1343.  
  1344.      design, enter Yes  and then  follow the instructions  listed
  1345.      below.
  1346.  
  1347.      If ProFile can't  find the  form that you  specify, it  will
  1348.      beep and then let you re-enter the file name.  If  you press
  1349.      [Esc], ProFile  will return  you to the  Main Menu,  without
  1350.      selecting a database.
  1351.  
  1352.  
  1353. Laying Out the Form
  1354.  
  1355. ProFile lets you  design forms  that are logically  laid out  and
  1356. easy to use and  that help increase operator accuracy.   Use your
  1357. imagination to design your forms.  For example, group like fields
  1358. together and  separate these  groups with blank  lines, or  title
  1359. each group with a heading.  Remember,  whoever fills in the forms
  1360. will  appreciate the time you took to make them accurate, easy to
  1361. fill in, and concise.
  1362.  
  1363. In this part of the  design process, you lay out the  form on the
  1364. screen.  Here's how:
  1365.  
  1366. 1.   Move the cursor to the location you want to place a field.
  1367.  
  1368. 2.   Type in the field prompt followed by a colon (:).  The colon
  1369.      tells ProFile that "this is a field name."
  1370.  
  1371.      The field prompt  is optional.  If  you choose not to  use a
  1372.      field prompt, just  type a  colon (:) where  you'd like  the
  1373.      field to start.
  1374.  
  1375. 3.   Create the information blank.  Move  the cursor to the first
  1376.      or  second  position  immediately following  the  colon (:).
  1377.      Press  the underline character  (_) repeatedly  to designate
  1378.      the amount of room needed for the information blank.
  1379.  
  1380. 4.   You may place  any comments, titles,  etc. on the form  that
  1381.      you would like.
  1382.  
  1383. 5.   When you are finished press F10 to bring up the Define Field
  1384.      Types screen.
  1385.  
  1386.  
  1387. Cursor Movement
  1388.  
  1389. ProFile  lets you move the cursor around  the screen, in the same
  1390. way you would  in a word processing program.   Use the keys shown
  1391. below.
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399. ProFile                                      Database Design   15
  1400.  
  1401.  
  1402. Function Keys for Form Layout:
  1403.  
  1404. Key          Meaning
  1405. ---          -------
  1406.  
  1407. [<--]        (backspace) key  will delete  characters to the  left
  1408.              of the cursor and  moves all character  to the  right
  1409.              of the cursor over one position.
  1410.  
  1411. [-->|]       (tab)  key will move  the cursor  to the beginning of
  1412.              the current line.
  1413.  
  1414. [Ins]        Will toggle  between insert  and typeover mode.   The
  1415.              word  OVR on  the  status indicates  that you  are in
  1416.              overwrite mode.
  1417.  
  1418. [Del]        Deletes  the character under the cursor and moves all
  1419.              characters to the   right over one position.
  1420.  
  1421. Arrow        Move the cursor in the appropriate direction; up,
  1422. Keys         down, left, and right on the form.
  1423.  
  1424. [^->]        (Ctrl-Right Arrow or  ^F) Moves  to the next word  in
  1425.              text fields.
  1426.  
  1427. [^<-]        (Ctrl-Left  Arrow or  ^A) Moves to  the previous word
  1428.              in text fields.
  1429.  
  1430. [Home]       Moves to the top of the database form.
  1431.  
  1432. [End]        Moves to the end of the database form.
  1433.  
  1434. [Pg  Up]     (Page  Up)  Moves  the  cursor  up  one  screen   (20
  1435.              lines).
  1436.  
  1437. [^Home]      Deletes  all  the  characters to  the  right  of  the
  1438.              cursor.
  1439.  
  1440. [Pg Dn]      (Page  Down) Moves  the cursor  down one  screen  (20
  1441.              lines).
  1442.  
  1443. F3           Insert a blank line.
  1444.  
  1445. F4           Copy the  current line if the  copy buffer is  empty,
  1446.              or insert a copied line if   the copy buffer is ready
  1447.              (loaded).
  1448.  
  1449. F5           Delete the current line.
  1450.  
  1451. Alt-W        Upper left corner of box.
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457. Database Design   16                                      ProFile
  1458.  
  1459.  
  1460. Key          Meaning
  1461. ---          -------
  1462.  
  1463. Alt-R        Upper right corner of box.
  1464.  
  1465. Alt-C        Lower right corner of box.
  1466.  
  1467. Alt-Z        Lower left corner of box.
  1468. Alt-E
  1469. Alt-X        Vertical box line.
  1470.  
  1471. Alt-S
  1472. Alt-D        Horizontal box line.
  1473.  
  1474.  
  1475. Field Prompts
  1476.  
  1477. A  field  prompt  tells  the  computer  operator   what  kind  of
  1478. information should go in the blank following it.
  1479.  
  1480. Field prompts should be chosen so that they accurately convey the
  1481. information that is to  be entered.   More than one field  prompt
  1482. may appear on one  line.  Remember to leave enough  space between
  1483. the field prompts  for the  information blanks.  A  minimum of  5
  1484. spaces between field prompts is recommended.
  1485.  
  1486. Although field prompts  are used  frequently, they are  optional.
  1487. Certain  fields (column-type  information) do  not need  prompts.
  1488. For example, a comment section in  a form may consist of  several
  1489. field blanks.  See figure #2.
  1490.  
  1491.  
  1492. Information Blanks
  1493.  
  1494. The information  blank sets the  number of characters  or numbers
  1495. that can be  entered into each field.  You  create an information
  1496. blank by  "painting" it on the screen,  immediately following the
  1497. field prompt (or colon if the field does not have a prompt).
  1498.  
  1499. The length of  an information blank may  be up to  78 characters.
  1500. The entire information blank must be  able to fit on one line  in
  1501. the form.  Try  to estimate the amount  of space needed for  each
  1502. field before you design your form.   Allocating too much room for
  1503. each field will mean wasted disk space; too little room for  each
  1504. field means your information will be cramped and abbreviated.
  1505.  
  1506. If you allocate  too little (or too  much) room for a  field, you
  1507. can go  back later  and change  the field  length.  ProFile  will
  1508. automatically  reorganize  your  database to  fit  the  new field
  1509. length specifications.
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515. ProFile                                      Database Design   17
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.                 Figure 2: The Form Layout screen
  1536.  
  1537.  
  1538.  
  1539.  
  1540.  
  1541.  
  1542. To create information blanks:
  1543.  
  1544. 1.   Use the cursor keys to move to the first or  second position
  1545.      after the colon (:) at the end of a field prompt.
  1546.  
  1547. 2.   Press the underline key repeatedly to create the information
  1548.      blank.  For instance, an information blank  with a length of
  1549.      eight would be signified by eight underline characters.
  1550.  
  1551. 3.   Repeat  the  above   steps  until   all  fields  have   been
  1552.      completed.
  1553.  
  1554.  
  1555. Note-     If you  create a  field without  an information  blank,
  1556.           ProFile  will warn  you  and then  return  to the  Form
  1557.           Layout screen.
  1558.  
  1559. Press F10 to  tell ProFile  that you are  finished designing  the
  1560. form.  Next, you will see the Define Field Attributes screen.
  1561.  
  1562.  
  1563. Laying Out Calculated and Lookup Fields
  1564.  
  1565. If you plan to use either calculated or lookup fields, you should
  1566. create the field  prompts and  information blanks  for them  now.
  1567. This  is done  just  as you  would  for any  other  field in  the
  1568. database.  See the previous section for more information.
  1569.  
  1570.  
  1571.  
  1572.  
  1573. Database Design   18                                      ProFile
  1574.  
  1575.  
  1576.  
  1577.  
  1578. Form Length
  1579.  
  1580. A  form can be  quite large.  In  fact, a form  can be  up to 100
  1581. lines long and 80 characters wide.   Your computer screen is like
  1582. a window looking on part of the form.   As you move around on it,
  1583. either to design or  fill it in, the form  scrolls automatically.
  1584. If you  ever want to go  to the top  of the form, just  press the
  1585. [Home]  key twice.  Also, when you  are designing a form, the [Pg
  1586. Up] key will move  the form 20  lines up; the   [Pg Dn] key  will
  1587. move form  20 lines down.  Pressing the [End] key twice moves the
  1588. form to line 80, showing the last 20 lines.
  1589.  
  1590.  
  1591. Inserting, Deleting, and Copying Form Lines
  1592.  
  1593. ProFile  lets you change  your form  by inserting,  deleting, and
  1594. copying form lines.   This means  that you can  quickly design  a
  1595. form.
  1596.  
  1597. Insert-      Move  the cursor  to the position where  the new line
  1598.              should be inserted  and press F3.   A blank line will
  1599.              be inserted  and all other  lines will  be moved down
  1600.              one.   Caution-  The last line in the form, line 100,
  1601.              will be erased.
  1602.  
  1603. Delete-      Move  the cursor  to the line you  wish to delete and
  1604.              then  press F5.   Answer Yes if you  wish the line to
  1605.              be deleted.
  1606.  
  1607. Copying-     Move  the cursor  to the  line you  would like copied
  1608.              and  press F4.   The line is  now in the  copy buffer
  1609.              and  the prompt  on  line  2  now  says  Copy  Buffer
  1610.              Ready.   Move the  cursor to  the position  where the
  1611.              copied  line should  be inserted and  press F4 again.
  1612.              The copied line will  be inserted and all other lines
  1613.              moved down  one.   Caution-   The  last  line in  the
  1614.              form, line 100, will be erased.
  1615.  
  1616.  
  1617. Drawing Boxes
  1618.  
  1619. You may  draw boxes on the form  to make it easier  to enter data
  1620. and  organize your fields.   Box drawing is  simple.  Just follow
  1621. these steps:
  1622.  
  1623. 1.   Position the cursor at the upper left corner of the box.
  1624.  
  1625. 2.   Press Alt-W to create the corner.  Next, draw the horizontal
  1626.      line by pressing Alt-D repeatedly until the line is drawn.
  1627.  
  1628.  
  1629.  
  1630.  
  1631. ProFile                                      Database Design   19
  1632.  
  1633.  
  1634.  
  1635. 3.   Press Alt-R to create the upper right corner.
  1636.  
  1637. 4.   Move the  cursor down  one line  and position  it under  the
  1638.      corner.  Press  Alt-X to draw  the vertical line.   Move the
  1639.      cursor  down one  line and  position  it under  the previous
  1640.      vertical line and  press Alt-X  again.  Repeat this  process
  1641.      until the vertical line is completed to your satisfaction.
  1642.  
  1643. 5.   Repeat the above  process to complete  the box, using  Alt-Z
  1644.      and   Alt-C   for  the   bottom   left  and   right  corner,
  1645.      respectively.
  1646.  
  1647.  
  1648. Form Layout Errors
  1649.  
  1650. Field #  was not found  in the list-  The referenced field  has a
  1651. field identifier but was not found. Recheck  the field identifier
  1652. for errors.
  1653.  
  1654. Field # has a partial field  identifier- The referenced field has
  1655. only one character  of the  field identifier.  Recheck the  field
  1656. identifier.
  1657.  
  1658. Field # has a duplicate field  identifier- Two existing fields on
  1659. your  form  have the  same  field  identifier.   Check  the field
  1660. identifier of both fields.
  1661.  
  1662. No Fields  Created. Minimum  field =  1. Maximum  = 150-  ProFile
  1663. could not find any fields. You must create at least one  field in
  1664. a form or exit Form Layout by pressing [Esc].
  1665.  
  1666. Over  150 fields  in form-    Reduce the  number of  fields  to a
  1667. Maximum of 150.
  1668.  
  1669. Field # has a length of zero- Each field in the form must have an
  1670. information  blank.   Use the underline  (_) character  to create
  1671. one.
  1672.  
  1673. The colon in Field  # is too close  to the right edge- The  colon
  1674. (:) may be no closer than character 77 of a line.
  1675.  
  1676. See  section  in Advanced  Database Design  for  a list  of other
  1677. problems and hints on how to correct them.
  1678.  
  1679.  
  1680. Assigning Field Attributes
  1681.  
  1682. The Define Field Attributes screen appears after you press F10 to
  1683. complete  the  form   layout.   Here  you  will   define  various
  1684. characteristics for each field.
  1685.  
  1686.  
  1687.  
  1688.  
  1689. Database Design   20                                      ProFile
  1690.  
  1691.  
  1692.  
  1693. The  Define  Field Attributes  screen  is  split.   The  top half
  1694. displays a  portion of your form.   The bottom half  contains the
  1695. field  attribute  box.   In it,  a field's  characteristics, i.e.
  1696. field type, name, length, help line, etc., are displayed.
  1697.  
  1698. When  you  create  a  new  form,  the  fields  in  the  form  are
  1699. automatically assigned the Text field  attribute.  You may change
  1700. or reassign the field attributes for both new and existing fields
  1701. as required.
  1702.  
  1703. To assign or change field attributes, follow the following steps:
  1704.  
  1705. 1.   Using the  up and down  arrow keys,  move the cursor  to the
  1706.      field you'd like to change.
  1707.  
  1708. 2.   Press [ENTER] to select this field.  The cursor will move to
  1709.      the attributes box.
  1710.  
  1711. 3.   At the Field Type: prompt, either enter  a new field type or
  1712.      press [ENTER] to choose the current type.
  1713.  
  1714. 4.   For text and  numeric field  types, you may  now assign  the
  1715.      other field attributes  i.e. field name, mask  type, length,
  1716.      decimal places, help  line and others.   See below for  more
  1717.      details.
  1718.  
  1719.      For new lookup or calculation fields, you will first  define
  1720.      the lookup  information or  formula.   Next,  you may  enter
  1721.      other field attributes.
  1722.  
  1723.      If this is an existing lookup or calculation field, you will
  1724.      move directly to  the field attributes section.   (Or, Press
  1725.      F2 to edit the lookup details or calculation formula.)
  1726.  
  1727. 5.   When you're done, press F10 to  save the new information and
  1728.      return to the  form.  Pressing  [Esc] cancels this edit  and
  1729.      returns  you  to  the form.    The  original  information is
  1730.      restored.
  1731.  
  1732.  
  1733. Selecting the Field
  1734.  
  1735. When the  cursor is in the top  half of the screen,  you may move
  1736. the  cursor to another  field on the  form using the  up and down
  1737. arrow  keys.   As you  do, notice  that the  attributes  box (the
  1738. bottom half of the screen) displays the values for the new field.
  1739.  
  1740. Pressing  [ENTER]  to select  that field  for change.  The cursor
  1741. drops down to  the Field Type: prompt in the attributes box.  You
  1742. may return to the form by pressing [Esc].
  1743.  
  1744.  
  1745.  
  1746.  
  1747. ProFile                                      Database Design   21
  1748.  
  1749.  
  1750.  
  1751.  
  1752. Field Types
  1753.  
  1754. There are  four field types from which  you may choose. These are
  1755. Text, Numeric, Lookup, and Calculated.
  1756.  
  1757. Field  types  are important.   Take  the  time to  consider  what
  1758. information  will  be put  in  the  form and  assign  field types
  1759. accordingly.  Watch out for simple mistakes like assigning a  zip
  1760. code field a Numeric type (i.e. Zip Code 00223 would be converted
  1761. to a number with the value 223) when it should be assigned a Text
  1762. type.
  1763.  
  1764. Field  types  can be  changed anytime  you  like by  entering new
  1765. values into the field type column.
  1766.  
  1767. To  enter a field  type, enter the  letter of your  choice of the
  1768. respective field type i.e. Text, Numeric, Lookup, or Calculated.
  1769.  
  1770. Text-  The  text field type is  the standard for all  new fields.
  1771. Text fields can hold any information.   This includes characters,
  1772. numbers  (but  not numeric  values),  dates, phone  numbers; just
  1773. about  anything.    Examples  of  text  fields  would  be  names,
  1774. addresses, dates, zip code fields, addresses, etc.
  1775.  
  1776. Numeric-   Numeric fields are used to  hold numeric values.  Only
  1777. numeric fields  may be  used  for calculation  fields and  report
  1778. totals and averages.  Numeric fields  allow you to assign decimal
  1779. places, and minimum and  maximum values for the field.   Examples
  1780. of numeric fields include sales information, totals, costs, etc.
  1781.  
  1782. Lookup-   Lookup  fields are  used  to retrieve  information from
  1783. another  database.   For  example,  you  could  have  a  customer
  1784. database and an invoice database.  By entering a customer name in
  1785. the invoice  database, ProFile could  automatically retrieve  the
  1786. address from  the customer  file.   The address  fields would  be
  1787. Lookup field types.
  1788.  
  1789. The data in a lookup field may  be stored in the current database
  1790. or  only  referenced.  Storing  a  lookup  field  in the  current
  1791. database allows you to index it, use it in a Select Spec, or Sort
  1792. Spec.  A stored lookup field is not automatically  updated if the
  1793. original information in the lookup database is changed.
  1794.  
  1795. Examples  of  lookup  fields  include  customer  addresses,  item
  1796. descriptions, item costs,  etc.   Basically any information  that
  1797. you do not want to have to enter manually.
  1798.  
  1799. Calculated-   Calculated fields allow  you to  place formulas  in
  1800. your  form.    In  this  way,  your  form,  for  instance,  could
  1801.  
  1802.  
  1803.  
  1804.  
  1805. Database Design   22                                      ProFile
  1806.  
  1807.  
  1808. automatically  calculate  total  sales  based  on  several  other
  1809. numeric fields.   Examples for calculated fields  include totals,
  1810. sales tax, averages, etc.
  1811.  
  1812. Creating Text and Numeric Fields
  1813.  
  1814. Text and numeric fields  are the most commonly used  field types.
  1815. The process for defining a text or numeric field is very similar.
  1816.  
  1817.  
  1818. To start:
  1819.  
  1820. 1.   Using the up and  down arrow keys, move the cursor the field
  1821.      you'd like to change.
  1822.  
  1823. 2.   Press [ENTER] to select the field.  The cursor will  move to
  1824.      the attributes box.
  1825.  
  1826. 3.   At the Field  Type: prompt, enter  Text or Numeric and  then
  1827.      press [ENTER].
  1828.  
  1829. After entering the field type, you may enter a series of  options
  1830. that control the current field.  Here are the details.
  1831.  
  1832. Name-          Each field in the  database has a name.   The name
  1833.                may be up to 12 characters  long and may contain a
  1834.                combination of letters,  numbers, and  punctuation
  1835.                marks (but NO spaces).  The name you assign to the
  1836.                field is used to  create a Select Spec, Report  or
  1837.                Label, and for other functions.
  1838.  
  1839.                   ProFile initially uses  the first  12 characters
  1840.                   of  the  field prompt  that  you used  when  you
  1841.                   designed the form.  If you'd like  to change it,
  1842.                   do so.  Pick a name that makes sense  to you and
  1843.                   other  users and is  unique.  Duplicate names in
  1844.                   a form are not allowed.
  1845.  
  1846. Mask Type-   The  mask type  determines  what information  can  go
  1847.              into  a field and how it is formatted.  See the chart
  1848.              starting  on page  ^^,  for a  detailed list  of text
  1849.              mask types and page ^^ for numeric mask types.
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.  
  1858.  
  1859.  
  1860.  
  1861.  
  1862.  
  1863. ProFile                                      Database Design   23
  1864.  
  1865.  
  1866.  
  1867.  
  1868. Code      Type         Use
  1869. ----------------------------------------------------------------
  1870. X         Anything     Any   character   or  information   may  be
  1871.                        entered  into  this field.   There  are  no
  1872.                        restrictions.    Example   uses  would   be
  1873.                        names, addresses, conceptual info, etc.
  1874.  
  1875. C         Alpha Only   Only alphabetic  characters are allowed  in
  1876.                        this   field.    No  numbers   or   symbols
  1877.                        permitted.
  1878.  
  1879. 9         Digits       Only  digits (i.e. 0  - 9)  are allowed  in
  1880.                        this field.   Useful for  Zip Code  fields,
  1881.                        part   numbers   or  anything   else   that
  1882.                        contains  numbers and  is not  considered a
  1883.                        numeric value.
  1884.  
  1885. D         Date         Dates only, keyed  in by the typist. Preset
  1886.                        length of 8 characters.
  1887.  
  1888. A         Auto Date    Dates automatically filled in with  today's
  1889.                        date.   These   may  be   changed  by   the
  1890.                        operator.   Only  one  auto date  field  is
  1891.                        allowed  per database.  Also, if  it is the
  1892.                        first field  in a  form, ProFile will  skip
  1893.                        over it  when adding or  editing data  (but
  1894.                        you can move back to it  by pressing the up
  1895.                        arrow    key).    Preset    length   of   8
  1896.                        characters.
  1897.  
  1898. O         sOc. sec. #  Formats   the  field  for  Social  Security
  1899.                        numbers  i.e. 222-33-4455  Preset length of
  1900.                        12 characters.
  1901.  
  1902. P         Phone
  1903.           Number       Formats   the   field  for   phone  numbers
  1904.                        including  area  code,  i.e.  301 555-2233.
  1905.                        Preset length of 12 characters.
  1906.  
  1907.                      Figure: Text Mask Types
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921. Database Design   24                                      ProFile
  1922.  
  1923.  
  1924.  
  1925. Code      Type         Use
  1926. ----------------------------------------------------------------
  1927. N         Number       Only  valid  numbers, quantities,  etc. for
  1928.                        computations   may  be  entered  into  this
  1929.                        field.
  1930.  
  1931. $         Money        Only   valid   numbers  and   amounts   are
  1932.                        allowed.    The  amount   is  automatically
  1933.                        formatted  with 2  decimal places.   Can be
  1934.                        used for computations.
  1935.  
  1936. I         Increment    Incrementing   fields  are  numeric  fields
  1937.                        that  ProFile  automatically increments  as
  1938.                        you add new records.
  1939.  
  1940.                  Figure: Numeric Field Mask Types
  1941.  
  1942.  
  1943.  
  1944. Length-        The length of  a field is initially  determined by
  1945.                the size of the information blank that you created
  1946.                in the form layout section.  Text fields may be up
  1947.                to 78  characters long  and must fit  on one  line
  1948.                (this includes the field prompt).   Numeric fields
  1949.                may be  up to  16 numbers,  including the  decimal
  1950.                place.
  1951.  
  1952.                You  can change  the length  of the field  at this
  1953.                prompt.  Note that the  information blank must fit
  1954.                on the line and  not overlap with any  other field
  1955.                (or  message)  on  the same  line.    ProFile will
  1956.                display  how  long  the   current  field  may   be
  1957.                lengthened without hitting the edge of  the screen
  1958.                or another field.
  1959.  
  1960. Decimal-       For numeric  fields only.  Enter in  the number of
  1961.                decimals places for this field, 0-9.  Money fields
  1962.                (mask type of $) are preset at 2 decimal places.
  1963.  
  1964. Index-         You  may designate  up  to 10  index  fields in  a
  1965.                database.  Enter a Y to index the field.
  1966.  
  1967.                Index fields  are used  to create  a special  file
  1968.                called an Index  file.  The  Index file gives  you
  1969.                close  to  instantaneous access  to any  record in
  1970.                your database.   When using the Edit function, you
  1971.                may find completed forms quickly using  the index.
  1972.                For instance, if  you designated  Last Name as  an
  1973.                indexed field, you could then  find Mr. "Smith" or
  1974.                Ms. "Barnaby" quickly by entering in the last name
  1975.  
  1976.  
  1977.  
  1978.  
  1979. ProFile                                      Database Design   25
  1980.  
  1981.  
  1982.                in the Search function.  More  on searching in the
  1983.                Edit section under Search.
  1984.  
  1985.                Fields that are  indexed should  be ones that  you
  1986.                use to identify information in your database.  For
  1987.                instance, in a customer mailing list,  the company
  1988.                name would be  a good choice  for indexing.   Last
  1989.                name or customer numbers are other good choices.
  1990.  
  1991.                In the Edit  function, a  database may browsed  in
  1992.                index field  order.   If you  have  more than  one
  1993.                field indexed,  you can  select which index  field
  1994.                should be used. For instance, if the indexed field
  1995.                was one called  Last Name, you could  scan through
  1996.                your database starting with last names that  start
  1997.                with "A" and  move up through the  alphabet.  This
  1998.                is discussed in more detail in the Edit section.
  1999.  
  2000. Help Line-     This  options lets  you  design  a customized  help
  2001.                prompt for this field.   This makes it easier  for
  2002.                other people to  enter data into your  form.  When
  2003.                information  is  entered  in  the  form,  the help
  2004.                prompt  will  be displayed  at  the bottom  of the
  2005.                screen.
  2006.  
  2007.  
  2008. Required-      A  required  field  must always  have  information
  2009.                entered in it and  may never be blank.   Enter Yes
  2010.                to make the current field required.
  2011.  
  2012. Must Fill-     The information blank in  a mustfill field must be
  2013.                completely filled  before the  information can  be
  2014.                saved.    Enter  Yes  to  make the  current  field
  2015.                mustfill.
  2016.  
  2017. Unique-        The information  in a  field that  is   designated
  2018.                unique  must  appear  only  once  in  a  database.
  2019.                Unique fields are  assigned an index file.   Enter
  2020.                Yes to designate the current field unique.
  2021.  
  2022. Uppercase-     This applies to  text fields only.   Answering Yes
  2023.                to this option will cause all letters entered into
  2024.                this field to be converted to uppercase i.e. A-Z.
  2025.  
  2026. Low-           For numeric fields only.  Enter a value other than
  2027.                0 in this  option as the lowest  number allowable.
  2028.                Entering a 0, or no value, means don't check for a
  2029.                low range.
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037. Database Design   26                                      ProFile
  2038.  
  2039.  
  2040. High-          For numeric fields  only.  Enter  a value in  this
  2041.                option to specify the largest  number allowed.  No
  2042.                value, or 0, means don't check for a high range.
  2043.  
  2044.  
  2045. Creating Lookup Fields
  2046.  
  2047. Lookup fields allow you  to link other databases to  the existing
  2048. database.   In this  way, you  can save  typing strokes,  improve
  2049. information  accuracy,   and  cut   down   on  database   storage
  2050. requirements.
  2051.  
  2052. To  create  a lookup  field,  you'll  need to  tell  ProFile what
  2053. database to use(the lookup  database file name), how to  find the
  2054. information (match  field and  lookup field), and  what field  to
  2055. "pull" into your current database (the retrieve field).   ProFile
  2056. helps you do this, and keeps track of the details.
  2057.  
  2058. For  instance,  assume that  you  had two  databases;  an invoice
  2059. database (containing  a  customer number,  item purchased,  total
  2060. amount, etc.) and a customer  database (customer number, name and
  2061. address).  You  could create a customer name  lookup field in the
  2062. invoice  database that  would automatically  "pull" the  customer
  2063. name into  the  invoice database  when  the customer  number  was
  2064. entered.  By typing in the customer number, ProFile automatically
  2065. searches  the  customer database  for  the same  customer number.
  2066. When  it  finds  a match,  it  retrieves  the  customer name  and
  2067. displays it on the invoice form.
  2068.  
  2069. This same procedure  may be done  for the customer address,  item
  2070. descriptions, costs, product codes, etc.
  2071.  
  2072. To create a lookup field:
  2073.  
  2074. 1.   Using the up  and down  arrow keys, move  the cursor on  the
  2075.      form to the field you'd like to make a lookup field.
  2076.  
  2077. 2.   Press [ENTER] to select this field.  The cursor will move to
  2078.      the attributes box.
  2079.  
  2080. 3.   At  the Field  Type:  prompt, enter  Lookup  and then  press
  2081.      [ENTER].
  2082.  
  2083. The following describes each  of the remaining steps.   Using our
  2084. invoice example,  you'll  be telling  ProFile "when  I enter  the
  2085. customer number (Current  Database Search  Field) in the  invoice
  2086. form,  search  to see  if it  matches  a customer  number (Lookup
  2087. Database Match Field)  in the customer database  (Lookup Database
  2088. File  Name).   If  it does,  retrieve  the customer  name (Lookup
  2089. Database Retrieve Field) for that customer number."
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095. ProFile                                      Database Design   27
  2096.  
  2097.  
  2098. Lookup File Name-  The cursor drops down to the File Name: prompt
  2099. under  the Lookup  Database title  after selecting Lookup  at the
  2100. Field  Type: prompt.    A  form may  use  up  to three  different
  2101. databases, with up to 150 lookup fields using these databases.
  2102.  
  2103. The form in  the top half of  the screen is replaced by  a window
  2104. from  which  you may  select  the  lookup database.    The lookup
  2105. database must be in  the same directory as the  current database.
  2106. To select a database move the cursor bar to the database  of your
  2107. choice and press [ENTER].
  2108.  
  2109. Lookup Match Field-  Next,  the cursor moves to the  Match Field:
  2110. prompt.  Here  you will  enter a field  from the lookup  database
  2111. that ProFile should use to locate  the proper record.  The lookup
  2112. database Match Field must  be indexed (and ProFile will  only let
  2113. you  select a  field that has  been indexed).   ProFile  uses the
  2114. index to quickly find the proper record in the lookup database.
  2115.  
  2116. The top half of  the screen will now display those  fields in the
  2117. lookup database.   You may  move the cursor  to any field  in the
  2118. lookup database  that has been  indexed.  Move the  cursor to the
  2119. proper field and press [ENTER].
  2120.  
  2121. Lookup Retrieve Field-    The information in the  Lookup Retrieve
  2122. Field will be  placed in the current field.   For example, assume
  2123. you are defining the CUSTOMERNAME field as a  Lookup field in the
  2124. Invoice database.  You would like to enter a customer  number and
  2125. have the appropriate  customer name (from the  customer database)
  2126. automatically inserted into the CUSTOMERNAME field in the invoice
  2127. database.  In this case, you would want the Lookup Retrieve Field
  2128. to be the CUSTOMERNAME field from the customer database.
  2129.  
  2130. The lookup field  being defined will  assume the same Field  Type
  2131. (either  Text  or Numeric)  of the  Lookup  Retrieve Field.   For
  2132. instance, the CUSTOMERNAME field in  the invoice database will be
  2133. the same type  (text) as the  CUSTOMERNAME field in the  customer
  2134. database.
  2135.  
  2136. When you  are entering  the Lookup  Retrieve Field,  ProFile will
  2137. display the fields  from the lookup database  in the top  half of
  2138. the screen.   Move the  cursor bar  to the appropriate  field and
  2139. press [ENTER].
  2140.  
  2141. Search  Field-   The Search  Field  is the  field in  the current
  2142. database that you  want to use to  find the proper record  in the
  2143. lookup database.  For instance, in the invoice database  example,
  2144. CUSTOMER_# would be the Current Database Search Field.
  2145.  
  2146. The top half of the screen will display the fields from which you
  2147. may choose the  Current Database Search  Field.  Move the  cursor
  2148. bar to the appropriate field and press [ENTER].
  2149.  
  2150.  
  2151.  
  2152.  
  2153. Database Design   28                                      ProFile
  2154.  
  2155.  
  2156.  
  2157. Lookup Field Attributes
  2158.  
  2159. The lookup field  may be assigned  Field Attributes.  The  lookup
  2160. field assumes the Field  Type of the Lookup Database  Match Field
  2161. i.e. Text or  Numeric. However,  entry rules and  ranges are  not
  2162. allowed for lookup fields.
  2163.  
  2164. See the section titled Creating Text  and Numeric Fields for more
  2165. details on Field Attributes.
  2166.  
  2167.  
  2168. Stored Lookup Fields
  2169.  
  2170. You may choose to store the lookup field  in the current database
  2171. or reference it via the lookup database.  Storing the information
  2172. in the current database  allows you to access the  information in
  2173. the lookup field  as you would any  other text or  numeric field.
  2174. This means that you may use  it for sorting, selecting, indexing,
  2175. or  for  use  in  other  databases.   Stored  lookup  fields  are
  2176. completed when the record  is initially added, and do  not change
  2177. if the information in the lookup database changes.
  2178.  
  2179. By choosing not to store a lookup field, you save disk  space and
  2180. the  information  will always  reflect  what  is  in  the  lookup
  2181. database.  You save space since the information is not duplicated
  2182. in  the  current database.    It  is always  current  because the
  2183. information is retrieved from the lookup database every time  the
  2184. form is  used.  However,  fields that are  not stored may  not be
  2185. used for sorting, selecting, or indexing.
  2186.  
  2187.  
  2188. Lookup Field Guidelines
  2189.  
  2190. o  The lookup  database must  reside in the  same subdirectory  as
  2191.    the current database.
  2192.  
  2193. o  You may not use the current database as the lookup database.
  2194.  
  2195. o  The  Match  Field in  the  lookup database  must  be a  stored,
  2196.    indexed field, either text or numeric.
  2197.  
  2198. o  The Retrieve Field in the lookup database must be stored.
  2199.  
  2200. o  The  current field being defined  as a lookup field will assume
  2201.    the same Field Type as the Retrieve Field.
  2202.  
  2203. o  The Current Database Search Field must be stored.
  2204.  
  2205.  
  2206.  
  2207.  
  2208.  
  2209.  
  2210.  
  2211. ProFile                                      Database Design   29
  2212.  
  2213.  
  2214.  
  2215. Creating Calculated Fields
  2216.  
  2217. Creating a calculated field in a form is very similar to creating
  2218. a numeric field but you first enter a formula into  the "Formula"
  2219. blank.  The formula will look just like those used in spreadsheet
  2220. programs such as Lotus 1-2-3 and Microsoft Excel.  To reference a
  2221. field use an "F" followed by the field number.
  2222.  
  2223. Calculated fields  are  useful  for  totals,  averages,  extended
  2224. costs, etc.
  2225.  
  2226. To create a Calculated Field:
  2227.  
  2228. 1.   Using  the up and  down arrow keys,  move the  cursor to the
  2229.      field you'd like to define as a calculated field.
  2230.  
  2231. 2.   Press [ENTER] to select this field.  The cursor will move to
  2232.      the attributes box.
  2233.  
  2234. 3.   At the Field Type: prompt,  enter Calculation and then press
  2235.      [ENTER].
  2236.  
  2237. After  entering the field type, you enter  the formula.  Then you
  2238. may enter a  series of  options that control  the current  field.
  2239. See the section titled Creating Text  and Numeric Fields for more
  2240. information on how to define field attributes.
  2241.  
  2242. Basic  formulas use  a  field, an  arithmetic  operator ("+"  for
  2243. addition, "-" for  subtraction, "*"  for multiplication, "/"  for
  2244. division, "^" to  raise to  any power  i.e 2^3 =  8) and  another
  2245. field number.   Formulas can be as simple as F9+F10 (field 9 plus
  2246. field 10).   More advanced  formulas can  use ProFile's  built-in
  2247. functions such as TAN (tangent) and ABS (absolute), and others.
  2248.  
  2249. The following are all valid formulas:
  2250.  
  2251. F9+F10              Field 9 plus Field 10.
  2252.  
  2253. F7+F8-F11           Field 7 plus Field 8 minus Field 11.
  2254.  
  2255. (F11*100) - F7      Field 11 times 100; minus Field 7.
  2256.  
  2257. ProFile checks the formula  after you enter  it.  If it finds  an
  2258. error, it beeps and displays the position of the first error that
  2259. it  encountered.   Common  problems  are incomplete  parentheses,
  2260. invalid  field  references,   and  symbols   that  it  does   not
  2261. understand.  To correct  an error,  just move the  cursor to  the
  2262. mistake and make the necessary changes.
  2263.  
  2264.  
  2265.  
  2266.  
  2267.  
  2268.  
  2269. Database Design   30                                      ProFile
  2270.  
  2271.  
  2272. Using Parentheses and Precedence
  2273.  
  2274. ProFile  uses  rules to  determine what  part  of a  formula gets
  2275. calculated first.  The rules are listed below.
  2276.  
  2277. Generally, always use parentheses if there is any doubt about the
  2278. order of precedence.  For instance,  the formula F9+F11*100 means
  2279. Field 11 is  multiplied by 100 and  the result added to  Field 9.
  2280. On the other hand,  (F9+F10)*100 means that the result  of adding
  2281. Field 9 with Field 10 is multiplied by 100.
  2282.  
  2283.  
  2284.  
  2285.  
  2286.  
  2287.  
  2288.  
  2289.  
  2290.  
  2291.  
  2292.  
  2293.  
  2294.  
  2295.  
  2296. Formula Functions
  2297.  
  2298. ProFile has a series of functions that can be used in formulas in
  2299. a calculated column.  The general syntax is Fnc(Value) where  Fnc
  2300. is the function and Value is  either a constant or field  number.
  2301. Figure #6 lists  all ProFile functions  with n meaning any  valid
  2302. number.
  2303.  
  2304.  
  2305. Saving the Form
  2306.  
  2307. When  you have finished  defining the field  attributes, save the
  2308. form by pressing F10.    ProFile will perform a  series of checks
  2309. to make certain that the information  that you entered is correct
  2310. and then  ask if you want to continue.   Any errors that it finds
  2311. will  be  displayed  and you  will  return  to  the Define  Field
  2312. Attributes screen to correct the errors.
  2313.  
  2314. If everything is fine, ProFile will report the number of lines in
  2315. the form, number of fields and record length.
  2316.  
  2317. Note-     You  cannot  continue until  all field  attributes have
  2318.           been properly setup.   If  all fields are not complete,
  2319.           ProFile  will  beep   and  inform  you  of   the  first
  2320.           incomplete field it finds.
  2321.  
  2322.  
  2323.  
  2324.  
  2325.  
  2326.  
  2327. ProFile                                      Database Design   31
  2328.  
  2329.  
  2330.           If  you must  exit, press [Esc]  twice from  the Define
  2331.           Field Attributes screen.  You may  save the Form Design
  2332.           by    answering   Yes   to   the   Save   Form   Design
  2333.           [Y/N]? prompt.
  2334.  
  2335.  
  2336. Syntax         Command        Use
  2337. -----------------------------------------------------------------
  2338. ABS(n)         Absolute       Returns the absolute value of N.
  2339.  
  2340. SQRT(n)        Square Root    Square root of N.
  2341.  
  2342. SQR(n)         Square         Returns the square of N.
  2343.  
  2344. SIN(n)         Sine           Returns  the  sine   of  N.   N  is
  2345.                               expressed in radians and the result
  2346.                               is a real number.
  2347.  
  2348. COS(n)         Cosine         Returns  the  cosine  of  N.  N  is
  2349.                               expressed in radians and the result
  2350.                               is a real number.
  2351.  
  2352. ARCTAN(n)      Arc  Tangent   Returns  the   angle,  in  radians,
  2353.                               whose tangent is N.
  2354.  
  2355. LN(n)          Natural        Returns  the  natural logarithm  of
  2356.                               N.
  2357.  
  2358. LOG(n)       Logarithm        Returns   the   logarithm   of   N,
  2359.                               i.e. LN(N)/LN(10).
  2360.  
  2361. EXP(n)         Exponential    Returns  the   exponential  of   N,
  2362.                               i.e. enum.
  2363.  
  2364.            Figure: Calculated column formula functions
  2365.  
  2366.  
  2367.  
  2368. Form Design Hints
  2369.  
  2370. Planning ahead means that you get greater use out of ProFile with
  2371. less effort  spent.   Listed  below  are  items  that  should  be
  2372. considered when designing a form:
  2373.  
  2374. Make the Form  Aesthetically Pleasing-   Make it pleasing to  the
  2375. eye, uncrowded, and lay  it out logically.  It will  be easier to
  2376. work with, less error-prone, and more efficient.
  2377.  
  2378. Use Descriptive and Unique Field Names-  ProFile lets you  use up
  2379. to 12 characters  to describe a  field; use them.  "LastName"  is
  2380. more instructive than "LName".
  2381.  
  2382.  
  2383.  
  2384.  
  2385. Database Design   32                                      ProFile
  2386.  
  2387.  
  2388.  
  2389. Include  Enough Fields-  ProFile is a  powerful tool and it gives
  2390. you a  lot of flexibility.  You can even  add more fields to your
  2391. database after you have filled in many forms.  But planning ahead
  2392. is always better so  try to anticipate what information  you need
  2393. to keep track of and include those fields in your form design.
  2394.  
  2395.  
  2396. Field Attribute Problems and Errors
  2397.  
  2398. ProFile checks  the information  entered in  the Field  Attribute
  2399. section to make  certain that no mistakes  are made.  Below  is a
  2400. list of problems and how to correct them.
  2401.  
  2402. No index field defined-  You must select the Indexed option on at
  2403. least one field in your database.  When ProFile checked, it could
  2404. not find any  fields that were indexed.   Move the cursor  bar to
  2405. the appropriate field  to be indexed and  press [ENTER].   At the
  2406. prompt Index: type Yes.
  2407.  
  2408. Over  Maximum  Characters-    The  maximum number  of  characters
  2409. allowed in a form is  3,000.  If you define a form with more than
  2410. the maximum, ProFile will warn you and return to the Define Field
  2411. Attributes  screen.  Reduce  the number of  characters in several
  2412. fields or, if  necessary, eliminate  a few fields  to reduce  the
  2413. overall record size.
  2414.  
  2415. Calculation Error-  ProFile has found an error in a formula for a
  2416. calculated field.  Fix the error and then press [ENTER].  See the
  2417. preceding section on Formulas for  instruction on how to properly
  2418. create a formula.
  2419.  
  2420. Lookup Field references a deleted field-  You have a lookup field
  2421. whose  Search Field  has been deleted.   Move the  cursor to that
  2422. lookup  field  and select  it.   Press  F2 to  change  the lookup
  2423. information.   Move the cursor to  Search Field and select  a new
  2424. field.
  2425.  
  2426. Too many index fields-  You are allowed up to 10 index fields per
  2427. database.  Change the  Index: prompt to No and then  press F10 to
  2428. continue.   Note that anytime  you define  a field as  Unique the
  2429. field is automatically indexed.
  2430.  
  2431. Too  many databases-   You have defined  a lookup field  that and
  2432. have exceeded the number of other databases that the current form
  2433. may access.  A  form may access up to three  databases for lookup
  2434. functions.
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441.  
  2442.  
  2443. ProFile                                      Database Design   33
  2444.  
  2445.  
  2446. Data and Index Files
  2447.  
  2448. In addition to  the Form  Definition file, your  database uses  a
  2449. Data file  and up to  ten Index files.   Here's a review  of what
  2450. these files do:
  2451.  
  2452. Data File-     A collection of records (filled in forms) on disk.
  2453.  
  2454. Index File-    ProFile uses an Index  files to keep track  of the
  2455.                order of the information in the Data file.
  2456.  
  2457. ProFile loads the Data and Index files after you have entered the
  2458. Form Definition file name.   If ProFile cannot find  these files,
  2459. it will create them automatically.
  2460.  
  2461.  
  2462. Disabled Lookup Fields
  2463.  
  2464. ProFile checks each of the lookup databases.   If it can't find a
  2465. referenced  database,  it  disables the  lookup  fields  for that
  2466. database.   You may still enter  information into a form, but the
  2467. fields that referenced the lookup database will be unavailable.
  2468.  
  2469. Typical errors involve  either the Match or Retrieve  field being
  2470. deleted or perhaps that names of  those fields have been changed.
  2471. The easiest  way  to correct  the problem  is to  use the  Layout
  2472. function  to redefine the  lookup fields in  the current database
  2473. that have been disabled.
  2474.  
  2475.  
  2476.  
  2477.  
  2478.  
  2479.  
  2480.  
  2481.  
  2482.  
  2483.  
  2484.  
  2485.  
  2486.  
  2487.  
  2488.  
  2489.  
  2490.  
  2491.  
  2492.  
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501. Add Data   34                                             ProFile
  2502.  
  2503.  
  2504. Add Data
  2505.  
  2506. After you've designed your form, you may now add data to  it.  To
  2507. do so, choose the Add function from  the Main Menu.  A blank form
  2508. will appear, as shown in figure #7.
  2509.  
  2510.  
  2511.  
  2512.  
  2513.  
  2514.  
  2515.  
  2516.  
  2517.  
  2518.  
  2519.  
  2520.  
  2521.  
  2522.  
  2523.  
  2524.  
  2525.  
  2526.  
  2527.  
  2528.                    Figure 7: Add Data function
  2529.  
  2530.  
  2531.  
  2532.  
  2533.  
  2534.  
  2535. To enter data in a form:
  2536.  
  2537. 1.   To fill out the form, just type in the information.
  2538.  
  2539. 2.   When you've finished entering your data into  a field, press
  2540.      [ENTER] to move to the next field.   You may also use the up
  2541.      and down arrow and tab keys to move around the form.
  2542.  
  2543. 3.   When  you  are  finished filling  out  the  form press  F10.
  2544.      ProFile will  save the form  and then present  another empty
  2545.      form.
  2546.  
  2547. 4.   When you're through  entering forms, press [Esc]  and answer
  2548.      Yes to  the exit prompt.  You  will then return  to the Main
  2549.      Menu.
  2550.  
  2551.  
  2552.  
  2553.  
  2554.  
  2555.  
  2556.  
  2557.  
  2558.  
  2559. ProFile                                             Add Data   35
  2560.  
  2561.  
  2562. Changing the Data
  2563.  
  2564. As you enter  information into the blank form, you  may change it
  2565. as you like:
  2566.  
  2567. o  Use the cursor, tab, up and  down arrow, [Home], and [End] keys
  2568.    to move around to the appropriate field.
  2569.  
  2570. o  Use the left and right arrow keys to move within a field.
  2571.  
  2572. o  Press ^[Home] (control-Home) to erase a  field from the current
  2573.    cursor position.
  2574.  
  2575. o  Press  [Ins] to enter overwrite  mode; press it again to toggle
  2576.    to insert mode.
  2577.  
  2578. The following chart summarizes the editing keystrokes:
  2579.  
  2580. Key          Use
  2581. --------     ---
  2582.  
  2583. [<--]        (backspace)  key will  delete characters  to the left
  2584.              of the cursor.
  2585.  
  2586. [-->|]       (tab) key will move the cursor the next field.
  2587.  
  2588. [|<--]       (shift  tab)    key  will  move  the  cursor  to  the
  2589.              previous field.
  2590.  
  2591. [Ins]        Will toggle the  program between insert and  typeover
  2592.              mode.
  2593.  
  2594. [Del]        Deletes the character under the cursor.
  2595.  
  2596. Up           Move to the beginning of the previous field.
  2597. Arrow
  2598.  
  2599. Down         Move to the beginning of the next field.
  2600. Arrow
  2601.  
  2602. [^->]        (Ctrl-Right Arrow or  ^F) Moves  to the next word  in
  2603.              text fields.
  2604.  
  2605. [^<-]        (Ctrl-Left  Arrow or  ^A) Moves to  the previous word
  2606.              in text fields.
  2607.  
  2608. [^Home]      Deletes  all  the  characters to  the  right  of  the
  2609.              cursor.
  2610.  
  2611. [Home]       Moves to the beginning of a  field or the top  of the
  2612.              database form.
  2613.  
  2614.  
  2615.  
  2616.  
  2617. Add Data   36                                             ProFile
  2618.  
  2619.  
  2620.  
  2621. [End]        Moves to  the end  of a  field or  to  the  end of  a
  2622.              database form.
  2623.  
  2624. [Esc]        Exit to the Main Menu.
  2625.  
  2626.  
  2627. Entering Information in Formatted Fields
  2628.  
  2629. When  a   form  is  designed,  ProFile  lets   you  control  what
  2630. information  is entered  into  each field. If  you  try to  enter
  2631. information that is not allowed, ProFile will beep and the cursor
  2632. will not move.  See page #24 in the Database Design section for a
  2633. list of field types and allowable characters.
  2634.  
  2635. Dates should be entered in the format "MM/DD/YY".  Remember, only
  2636. numbers are allowed in a date  field.  Also, if the month or  day
  2637. is only  one digit,  place a "0"  first, i.e. June 1,  1988 would
  2638. appear as "06/01/88".
  2639.  
  2640.  
  2641. Required, Unique, and Must Fill Fields
  2642.  
  2643. In addition to type  checked fields, ProFile allows fields  to be
  2644. designated as required,  unique and must fill during the database
  2645. design process.  These "entry  rules" allow the database designer
  2646. to control what information is entered into a form and  to ensure
  2647. a form is completed  properly. If these fields are  not completed
  2648. properly,  ProFile asks  you to  do  so when  you  try enter  the
  2649. information or  save the record.   See  page #27 in  the Database
  2650. Design section for more information on creating "entry rules".
  2651.  
  2652. A  Required field must  always have information  entered into it.
  2653. For instance, in  our mailing  list example, LAST  NAME could  be
  2654. designated as required.   This would  ensure that all records  in
  2655. the  database  had  a last  name.    Other  examples of  possible
  2656. required fields  include customer  numbers, part  numbers, dates,
  2657. etc.
  2658.  
  2659. Unique  fields must  only appear  once in  a database.   When you
  2660. enter  data in  a  field designated  unique,  ProFile checks  the
  2661. database to see  if the information has previously  been entered.
  2662. For instance, you might  designate a customer number field  to be
  2663. unique in a customer database.  This would ensure that there were
  2664. no  duplicate customer numbers, since ProFile would automatically
  2665. check each number when the customer information was entered.
  2666.  
  2667. Must  Fill  fields  must have  the  information  blank completely
  2668. filled before the  record can be  saved.  A  date field could  be
  2669. designated must  fill so that  a user would  not enter a  partial
  2670. date.  ProFile checks  when the information is entered  and stops
  2671.  
  2672.  
  2673.  
  2674.  
  2675. ProFile                                             Add Data   37
  2676.  
  2677.  
  2678. the user from proceeding if  a must fill field is  not completed.
  2679. Must fill  fields may be  left empty, i.e.  no data entered.   To
  2680. make certain  a user  completes the  field and  enters data,  the
  2681. field should be designated required and must fill.
  2682.  
  2683.  
  2684. Range Checking
  2685.  
  2686. ProFile allows a range  to be specified for numeric fields.   The
  2687. ranges are specified  during the database  design.  See page  #27
  2688. under Database Design for more information on minimum and maximum
  2689. values (ranges).   When a number is entered into a field, ProFile
  2690. checks to  see if a range has been specified  for that field.  If
  2691. it has, it then checks the  number to make certain that it  falls
  2692. within the range.  You will receive a warning if the number falls
  2693. outside of the range  specified, after which you may  correct you
  2694. entry and proceed.
  2695.  
  2696.  
  2697. Lookup Fields
  2698.  
  2699. Lookup  fields  are  used to  speed  data  entry  by letting  the
  2700. computer  pull  in  information  from   another  database.    For
  2701. instance, when entering information into an invoice database, you
  2702. could enter  a customer name  and have  the computer fill  in the
  2703. customer  address.   The  address  fields (street  address, city,
  2704. state,  and zip)  are lookup fields.   The  customer name  is the
  2705. search  field, or  key field, by  which ProFile  searches another
  2706. database  for the  customer address.   Lookup fields  are created
  2707. during  the  database design  process.    See page  #28  for more
  2708. information.
  2709.  
  2710. After entering information  into a  lookup search field,  ProFile
  2711. automatically looks into  the appropriate database so that it may
  2712. fill in  the respective  lookup fields.   If  it cannot find  the
  2713. data,  it  will then  present  a  sorted list  that  most closely
  2714. matches the information that you entered.  You  may also use this
  2715. feature to search  for the right  information.  For instance,  by
  2716. entering "S" in a customer name field (that has been designated a
  2717. search  field  for  other  lookup  fields),  ProFile  would  list
  2718. alphabetically customers starting with "S".   If you had none, it
  2719. would look for "T", "U", etc.
  2720.  
  2721.  
  2722. Non-stored Fields and Calculated Fields
  2723.  
  2724. Most  fields in  a  form are  filled  in by  you  when you  enter
  2725. information.  Lookup  fields and calculated fields  are completed
  2726. by ProFile.   As you move  from field to  field, the cursor  will
  2727. jump over  non-stored lookup fields  and calculated fields.   (No
  2728. user entry is allowed in these fields.)
  2729.  
  2730.  
  2731.  
  2732.  
  2733. Add Data   38                                             ProFile
  2734.  
  2735.  
  2736.  
  2737.  
  2738. Copying Information From the Previous Form
  2739.  
  2740. Many times when you fill in forms, there is duplicate information
  2741. from one  form to the next.  For example,  if you are filling out
  2742. forms for a mailing list you might have five people from the same
  2743. company.  Instead of  retyping the company name  for each person,
  2744. ProFile lets you  "copy" the information  from the same field  in
  2745. the previous form into your current  form by pressing the "ditto"
  2746. key F4.
  2747.  
  2748.  
  2749. The Field Help Line
  2750.  
  2751. ProFile  offers  general  help  on  any  function  that  you  are
  2752. currently using.  To get help just press F1.
  2753.  
  2754. In addition to this,  ProFile lets you create special  help lines
  2755. that  appear when  you are  adding information to  your database.
  2756. This  help  line  can  assist  you  in  completing  the  form  by
  2757. explaining what information a field should contain.  Or, the help
  2758. line might list codes or  abbreviations that can be entered  in a
  2759. field.
  2760.  
  2761. Once you have  created the help line, it is displayed on the line
  2762. immediately below the form (line 24) on your screen.  As you move
  2763. from field to  field in the form,  the help line for  the current
  2764. field will be displayed.  If there  is no help, the line will  be
  2765. blank.
  2766.  
  2767. Remember,  field help  is  only available  if someone  creates it
  2768. first.  It's simple to  create help lines and once  created, they
  2769. are always available.   See page #26  in the previous section  on
  2770. Defining Field Attributes to learn how.
  2771.  
  2772.  
  2773. Printing the Form
  2774.  
  2775. To print the form and the information that you have entered press
  2776. F9.
  2777.  
  2778. To print the current form:
  2779.  
  2780. 1.   Press F9 when in the  Add or Edit function. This  will bring
  2781.      up the current print settings.
  2782.  
  2783. 2.   You may now  change, if needed,  the top and bottom  margin,
  2784.      page length and  print margin (the  print margin prints  the
  2785.      entire form further to the right).   Press [ENTER] to accept
  2786.      the displayed settings or enter in a new value.
  2787.  
  2788.  
  2789.  
  2790.  
  2791. ProFile                                             Add Data   39
  2792.  
  2793.  
  2794.  
  2795. 3.   Answer  Yes  to the  "Continue  ?"  prompt to  print,  No to
  2796.      re-enter the print values.
  2797.  
  2798. You may exit the Print function at any time by pressing [Esc].
  2799.  
  2800. Note-     The  F9  key  works  differently  than the  PrtSc  key.
  2801.           Pressing  shift-[PrtSc]  prints  out   everything  that
  2802.           appears on the screen,  including the information above
  2803.           and below the form.  Pressing F9 prints only your  form
  2804.           and the  information that is currently in it.  To print
  2805.           a series of forms, see page #55.
  2806.  
  2807.  
  2808.  
  2809.  
  2810.  
  2811.  
  2812.  
  2813.  
  2814.  
  2815.  
  2816.  
  2817.  
  2818.  
  2819.  
  2820.  
  2821.  
  2822.  
  2823.  
  2824.  
  2825.  
  2826.  
  2827.  
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836.  
  2837.  
  2838.  
  2839.  
  2840.  
  2841.  
  2842.  
  2843.  
  2844.  
  2845.  
  2846.  
  2847.  
  2848.  
  2849. Edit Data   40                                            ProFile
  2850.  
  2851.  
  2852. Edit Data
  2853.  
  2854. To edit existing  information, choose the Edit  function from the
  2855. Main Menu.  Your form  and the Edit Menu will appear  as shown in
  2856. figure #8.
  2857.  
  2858. The Edit function provides three major uses:
  2859.  
  2860. o  To   search   for   and   display   records   based   on   your
  2861.    specifications.
  2862.  
  2863. o  To correct information in a form.
  2864.  
  2865. o  To permanently delete records from your database.
  2866.  
  2867. With Edit, you may:
  2868.  
  2869. o  Skip  to the next or previous record in index (sometimes called
  2870.    key field) order.
  2871.  
  2872. o  Go to the first or last record in the database in index order.
  2873.  
  2874. o  Select a group of records to display and then  view each one on
  2875.    the screen.
  2876.  
  2877. o  Find a specific record by key field or record number.
  2878.  
  2879. o  Delete the current record.
  2880.  
  2881. o  Display  a record  on the  screen and  correct or  edit it,  if
  2882.    desired.
  2883.  
  2884. o  Print out the current record.
  2885.  
  2886.  
  2887. About Your Displayed Form
  2888.  
  2889. When the  Edit function is  activated, the computer  screen shows
  2890. your form filled  in with the  information from the first  record
  2891. (in index order).
  2892.  
  2893. As noted in the  Form Design section, your form may be  up to 100
  2894. lines long.  The edit screen can display only 19  lines.  If your
  2895. form is longer than 19 lines, press the up and down arrow keys to
  2896. display  another  section of  the  form.    On  line  24, ProFile
  2897. displays the status  of the Edit  Selection Spec, and the  active
  2898. index field.
  2899.  
  2900.  
  2901.  
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907. ProFile                                            Edit Data   41
  2908.  
  2909.  
  2910. The Edit Menu
  2911.  
  2912. The Edit Menu  is displayed  horizontally along the  bottom.   To
  2913. select a menu choice, move the cursor bar with the <-  -> keys to
  2914. your choice and press [ENTER].   Or, press the highlighted letter
  2915. of your menu choice.
  2916.  
  2917.  
  2918. Total, Deleted, and Current Records
  2919.  
  2920. In the upper left hand corner of the screen,  a line displays the
  2921. total number of forms currently  in use in your database  and the
  2922. "record number" of the form currently  displayed on the screen.
  2923.  
  2924.  
  2925. ProFile  keeps track of the  number of active (filled-in) records
  2926. in your database,  the number and  position of records that  have
  2927. been deleted,  and  the position  of  the displayed  record.   It
  2928. displays the  total number  of records  and the  position of  the
  2929. current record in the top left corner.
  2930.  
  2931.  
  2932.  
  2933.  
  2934.  
  2935.  
  2936.  
  2937.  
  2938.  
  2939.  
  2940.  
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946.  
  2947.  
  2948.  
  2949.                      Figure 8: Edit Data Menu
  2950.  
  2951.  
  2952.  
  2953.  
  2954.  
  2955.  
  2956.  
  2957.  
  2958. "Ttl= X" means X is the "total active records" in  your database.
  2959. This number does  not include  any empty records  that have  been
  2960. removed with the Delete feature.
  2961.  
  2962.  
  2963.  
  2964.  
  2965. Edit Data   42                                            ProFile
  2966.  
  2967.  
  2968.  
  2969. "Rec= X"  signifies that  X is  the "record  number" or  position
  2970. (relative to the  beginning of  the file) of  the filled-in  form
  2971. currently displayed on your screen.
  2972.  
  2973. Sometimes "Rec=  X" will show an X that  is larger than the total
  2974. number of active records ("Ttl= X" number).   There is no need to
  2975. be concerned.   This happens because  of the way  ProFile handles
  2976. records that have been  removed with the Delete option  (which is
  2977. discussed in this section).
  2978.  
  2979. When  a record  is deleted,  it leaves  an  empty record  in your
  2980. database.  ProFile keeps track of these  and reuses them when you
  2981. add new records.
  2982.  
  2983. For example, if you had 20 customers in your database and deleted
  2984. XYZ Company (record number 19), ProFile would mark that record as
  2985. deleted.  The total  number of customers would now be 19.  If you
  2986. were to display the 20th customer in your database, ProFile would
  2987. display the  current record number  as 20, while  indicating that
  2988. there were only 19 customers total in your database.
  2989.  
  2990. Since ProFile re-uses empty (deleted)  record positions, the next
  2991. time you  add a new customer, ProFile will  place it in the empty
  2992. record created by deleting XYZ Company (record 19).
  2993.  
  2994. The main  point  to keep  in  mind here  is  don't worry  if  the
  2995. displayed record number is greater than the total active  records
  2996. because ProFile  is smart  enough to keep  track of all  of these
  2997. details for you.
  2998.  
  2999.  
  3000. Edit an Existing Record
  3001.  
  3002. To  edit the record displayed on the  screen, move the cursor bar
  3003. to the Edit selection and press [ENTER].  The cursor will move to
  3004. the first field in  the form (unless it's an auto  date field, in
  3005. which case it will skip to the second field).  Then, using the up
  3006. and down  arrow keys, move the cursor to  the field you'd like to
  3007. change.  Repeat this  procedure until all corrections  or updates
  3008. are made.  See  the previous section  on adding records for  more
  3009. information on keystrokes to edit information in a form.
  3010.  
  3011. Note-     An  auto  date field  is not  changed  when you  edit a
  3012.           record.  To change it to today's date,  move the cursor
  3013.           to the auto date field and  then press the "ditto" (F4)
  3014.           key.
  3015.  
  3016.  
  3017.  
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023. ProFile                                            Edit Data   43
  3024.  
  3025.  
  3026.  
  3027. Next and Previous
  3028.  
  3029. The Next and Prev functions  are powerful and easy to use.   They
  3030. allow you  to browse through your database  one record at a time.
  3031. These  functions  use  the  Index  file  that  ProFile  maintains
  3032. automatically  for you.  This means  the database will be ordered
  3033. by the active index field.
  3034.  
  3035. For  instance,  if your  key  field  was Zip  Code,  ProFile will
  3036. initially display the  record with  the lowest Zip  code in  your
  3037. database.  Pressing  Next displays a  higher Zip code,  with Prev
  3038. displaying  a  lower number.   When  you  reach the  end  of your
  3039. database, Next will "loop"  to the first record.   Conversely, if
  3040. you  are at the  first record, Prev  will "loop"  and display the
  3041. last record.
  3042.  
  3043. If you have created a Selection Spec, it will act as  a filter on
  3044. the  database,  displaying  only  those  records  that  meet  the
  3045. specifications you have defined.  For example, pressing Next will
  3046. display  the  next record  that meets  the  Selection Spec.   The
  3047. message in the lower right corner of the screen indicates whether
  3048. a Selection Spec is active.
  3049.  
  3050.  
  3051. Search
  3052.  
  3053. The  Search  feature lets  you quickly  find  any record  in your
  3054. database.  ProFile uses your  database's Index file to do  this.
  3055. When you select Search, ProFile will  prompt you to enter a value
  3056. for which to search.    If you have more than  one field indexed,
  3057. you may use  the Index menu choice to change to the field of your
  3058. choice.  See Index this section for more information.
  3059.  
  3060. If you designated the  Last Name field as the active index field,
  3061. ProFile would prompt you to enter a last name.  It then  tries to
  3062. match the last  name you  entered with someone  in your  database
  3063. that has a last  name GREATER THAN OR EQUAL to  the last name you
  3064. entered.     Once it  has  located  the correct  record,  it then
  3065. displays it on  the screen  for editing,  deleting, printing,  or
  3066. examining.
  3067.  
  3068. For instance, entering "S" at the prompt will make ProFile search
  3069. for the first record  where the last  name started with "S".   If
  3070. can't find  any, it then looks at names  that start with "T" then
  3071. "U", etc.  If none are found, ProFile alerts you with a warning.
  3072.  
  3073.  
  3074.  
  3075.  
  3076.  
  3077.  
  3078.  
  3079.  
  3080.  
  3081. Edit Data   44                                            ProFile
  3082.  
  3083.  
  3084.  
  3085. First and Last Record
  3086.  
  3087. First displays the first record and Last displays the last record
  3088. in the database.  Think of your database as a stack  of completed
  3089. forms arranged by  the active index  field. First would show  you
  3090. the form on top, while Last would  display the form on the bottom
  3091. of the stack.
  3092.  
  3093.  
  3094. Deleting Records
  3095.  
  3096. Choose Delete to permanently remove the displayed record.  Before
  3097. it removes the  record, ProFile  will prompt you  to affirm  your
  3098. delete request.
  3099.  
  3100. If  a majority of the  records in your  database are deleted, use
  3101. the Pack option  in the Utilities  Menu.  It will improve  system
  3102. performance  by  reorganizing  the database,  removing  all empty
  3103. records and freeing  up space on  your disk.   See page #115  for
  3104. more information on Pack.
  3105.  
  3106.  
  3107. Go To a Record
  3108.  
  3109. Each record (filled-in form) in your database has a record number
  3110. associated  with it.  When  you create  your database,  the first
  3111. record entered is record number 1, the second is record number 2,
  3112. etc.  The record number of the  currently displayed form is shown
  3113. in the upper left-hand corner.
  3114.  
  3115. The  Record  option lets  you go  directly  to a  specific record
  3116. number.  This is another way of  viewing your database.  When you
  3117. are editing your database, sometimes it  is easier to go directly
  3118. to a  record  number  than  it  is to  use  the  other  searching
  3119. capabilities of ProFile.
  3120.  
  3121. Note-     If the  record number  that you  specify  is a  deleted
  3122.           (empty) record, ProFile will advise  you so and not let
  3123.           you access it.
  3124.  
  3125.  
  3126. Count
  3127.  
  3128. Count  lets  you  count  records  in  a database  that  meet  the
  3129. Selection Spec (or to count all records if a All Records has been
  3130. selected).
  3131.  
  3132. To count records, simply  select Count. ProFile will  display the
  3133. number of records that meet your selection criteria on the status
  3134. line.
  3135.  
  3136.  
  3137.  
  3138.  
  3139. ProFile                                            Edit Data   45
  3140.  
  3141.  
  3142.  
  3143. You may cancel count at anytime by pressing [Esc].
  3144.  
  3145.  
  3146. Select
  3147.  
  3148. Choose this option  to create a  new Selection Spec described  in
  3149. the following section.
  3150.  
  3151. The Selection Spec  controls what records  are viewed when  using
  3152. Count, Next, Prev,  First and Last.  It acts as a filter allowing
  3153. only those records that meet your criteria to be displayed.
  3154.  
  3155. A message  will be  displayed in  the lower  right corner  when a
  3156. Selection Spec has been defined.  Otherwise it will indicate that
  3157. all records will be viewed.
  3158.  
  3159. To browse through the database using a Selection Spec:
  3160.  
  3161. 1.   Using  the Select  option, create  a Selection Spec  to tell
  3162.      ProFile what records to  find.  ProFile will now  locate the
  3163.      first record that meets your selection criteria.
  3164.  
  3165. 2.   Use Next, Prev, First,  and Last to view other  records that
  3166.      meet your criteria.
  3167.  
  3168. At any  time you can edit and change  the information in the form
  3169. that is currently displayed.
  3170.  
  3171.  
  3172. Index
  3173.  
  3174. The Index function  lets you choose the active  index field.  The
  3175. active  index  controls  the  order  in  which  the  records  are
  3176. displayed, and  what field  the search  function uses  to quickly
  3177. find records.
  3178.  
  3179. To choose a  new active index,  select Index from the  edit menu.
  3180. ProFile will then display a list of your fields and let  you move
  3181. among  those  fields  that  were  designated  as  indexed  during
  3182. database design.  Use the cursor  keys to move the cursor bar  to
  3183. the new index field and press [ENTER].
  3184.  
  3185. It's often handy to have several  fields designated as indexed so
  3186. that you can view your data in different ways.  For  instance, by
  3187. indexing on both last name and entry date in our sample database,
  3188. we may order  the database either by  last name, or the  date the
  3189. record was entered.
  3190.  
  3191.  
  3192.  
  3193.  
  3194.  
  3195.  
  3196.  
  3197. Edit Data   46                                            ProFile
  3198.  
  3199.  
  3200.  
  3201. Printing the Current Form
  3202.  
  3203. To get a printed copy of the form  currently displayed, press F9.
  3204. See page #41 for more information.
  3205.  
  3206.  
  3207. The Selection Spec
  3208.  
  3209. The Selection Spec is used throughout ProFile to give you control
  3210. over  the information  in your  database.  The Selection  Spec is
  3211. used  to  select  a  subset of  your  database  for  examination,
  3212. reports, labels  or changes.     ProFile uses  menus to help  you
  3213. build a Selection Spec.
  3214.  
  3215.  
  3216. For  example, assume that you'd like to see all of your customers
  3217. that are in Chicago.   First, you'd create a Selection  Spec that
  3218. says-
  3219.  
  3220.    CITY Equal Chicago
  3221.  
  3222. ProFile would then search  the database, looking at all  the City
  3223. fields for any customer in Chicago.
  3224.  
  3225. To make the Search more specific, you could  add another test for
  3226. each customer record:
  3227.  
  3228.    CITY Equal Chicago AND
  3229.    SALES Greater Than 1000000
  3230.  
  3231. Using  this criteria, ProFile will find  all companies in Chicago
  3232. with sales greater than $1 million.
  3233.  
  3234.  
  3235. Selection Spec Menu
  3236.  
  3237. When a Selection Spec is created, you start at the Selection Spec
  3238. Menu. The current Selection  Spec is listed above the  menu. If a
  3239. Spec  has  not been  defined, the  notation  All Records  will be
  3240. displayed.
  3241.  
  3242. The Selection Spec Menu lists four choices:
  3243.  
  3244. New Spec-      Use this  option to  create a new  Selection Spec.
  3245.                If there is an existing Spec displayed, it will be
  3246.                erased and a new one created.
  3247.  
  3248. Edit Spec-     With this  option you  may edit an  existing Spec.
  3249.                If one  has not been  created, it will  be created
  3250.                for you.
  3251.  
  3252.  
  3253.  
  3254.  
  3255. ProFile                                            Edit Data   47
  3256.  
  3257.  
  3258.  
  3259. All Records-   Selecting this option clears the existing Spec and
  3260.                defines  the new  Spec to  be all  records in  the
  3261.                database.
  3262.  
  3263. Done-          Finished  creating the  Spec, exit  Selection Spec
  3264.                function.
  3265.  
  3266.  
  3267.  
  3268. Creating a Selection Spec
  3269.  
  3270. To create a Selection Spec:
  3271.  
  3272. 1.   Choose a field from your form.
  3273.  
  3274. 2.   Specify how the field should be compared.
  3275.  
  3276. 3.   Enter  the  information  with  which  the  field  should  be
  3277.      compared.
  3278.  
  3279. 4.   You may add up to four additional selection tests.
  3280.  
  3281. The details for creating a Selection Spec follow.  If at any time
  3282. you wish to start  over, simply press [Esc] repeatedly  until you
  3283. have reached the Selection Spec Menu.
  3284.  
  3285.  
  3286. Choosing a Field
  3287.  
  3288. The first screen  displays a  list of  all of the  fields in  you
  3289. form.   Move the cursor  bar to the  appropriate field  and press
  3290. [ENTER] to select it.  Note that you  may move the cursor only to
  3291. those fields that  are stored in  your current database.   Lookup
  3292. fields that are not stored may not be used in a Selection Spec.
  3293.  
  3294. After  you select a  field to test,  ProFile will  start to build
  3295. your statement on the line below the prompt.  See figure #9.
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.  
  3306.  
  3307.  
  3308.  
  3309.  
  3310.  
  3311.  
  3312.  
  3313. Edit Data   48                                            ProFile
  3314.  
  3315.  
  3316.  
  3317.  
  3318.  
  3319.  
  3320.  
  3321.  
  3322.  
  3323.  
  3324.  
  3325.  
  3326.  
  3327.  
  3328.  
  3329.  
  3330.  
  3331.  
  3332.  
  3333.  
  3334.          Figure 9: Selecting a field for a Selection Spec
  3335.  
  3336.  
  3337.  
  3338.  
  3339.  
  3340.  
  3341.  
  3342.  
  3343. Choosing the Comparison
  3344.  
  3345. Next, choose how ProFile should  compare the field. (You'll enter
  3346. the information to be compared in just a moment.)
  3347.  
  3348. There are seven ways to compare information:
  3349.  
  3350. Comparisons:
  3351.  
  3352. 1- Equal-   The value  in the field specified  in step one (Select
  3353.    Field) must exactly  match the information  entered in  step 3.
  3354.    For instance, choosing the City field and equal, then  entering
  3355.    "Chicago"  will mean ProFile  will search for all records where
  3356.    the City field is equal to Chicago.
  3357.  
  3358. 2- Not  Equal-  This means all records except those that have this
  3359.    value.   Using  the above  example but  substituting Not  Equal
  3360.    (for  Equal) will  make ProFile search for  any customer NOT in
  3361.    Chicago.
  3362.  
  3363. 3- Greater  Than-  Whatever is in  this field must be greater than
  3364.    the  comparison information.  Using the Sales field and Greater
  3365.    Than and  then  entering  "1000" directs  ProFile to  find  all
  3366.    customers with sales greater then $1,000.00.
  3367.  
  3368.  
  3369.  
  3370.  
  3371. ProFile                                            Edit Data   49
  3372.  
  3373.  
  3374.  
  3375. 4- Equal  or Greater  Than-  This  means match  all fields  with a
  3376.    value at least equal to the entered information.  Using  Sales,
  3377.    Greater  Than  and 1000  means any  customer with  sales of  at
  3378.    least $1000.00 will be selected.
  3379.  
  3380. 5- Less  Than-  Matching fields have values less  than the entered
  3381.    comparison  information.   With a  Date field,  Less Than,  and
  3382.    "10/01/86",  ProFile will  select all  dates BEFORE  October 1,
  3383.    1986.
  3384.  
  3385. 6- Equal  or Less  Than-  Match  fields with  a value  not greater
  3386.    than  the entered comparison.   Using the Less Than example but
  3387.    using Less Than or Equal to means all records  with dates ON or
  3388.    BEFORE October 1, 1986 will be selected.
  3389.  
  3390. 7- Contains-   This  is a  useful function  that can  work on  any
  3391.    field  except  Number and  calculated  field types.   It  means
  3392.    select  records  where  the  entered   information  is  located
  3393.    anywhere  in the  field.   For example, if  you use  an Address
  3394.    field,  Contains and  enter "Oak", ProFile  will select records
  3395.    that have words like Oak, Oak Tree, Oakleaf, Oakra, and Soak.
  3396.  
  3397. The Selection Spec is NOT CASE SENSITIVE.  This means if you were
  3398. looking  for  customers in  Chicago,  any customer  with chicago,
  3399. Chicago or CHICAGO would be selected.
  3400.  
  3401. Additionally, all choices except Contains (which does not work on
  3402. numeric  field  types)  will work  with  either  text  (words) or
  3403. numbers.  For example, using Last Name, Greater Than, and "Jones"
  3404. would   select  all   last  names  alphabetically   greater  than
  3405. "Johnson".  So  Smith,  Moore,  and  Jones would  all  be  found.
  3406. ProFile treats words  just like the dictionary does  and compares
  3407. them in the same fashion.
  3408.  
  3409.  
  3410. Entering the Comparison Information
  3411.  
  3412. The information entered  here is  what ProFile uses  to make  the
  3413. selections.  The prompt  will display  your field  name and  your
  3414. comparison, followed  by a colon.   Enter the  information to  be
  3415. compared and then  press [ENTER].  (Think  of this as a  sentence
  3416. that you are completing).
  3417.  
  3418. If you  had picked the field Sales, Greater Than and then entered
  3419. 100 (means find all customers with sales above $100.00), the line
  3420. would look like this:
  3421.  
  3422.      Sales Greater Than:100_____________
  3423.  
  3424.  
  3425.  
  3426.  
  3427.  
  3428.  
  3429. Edit Data   50                                            ProFile
  3430.  
  3431.  
  3432.  
  3433. Using OR, AND, or END with a Selection Spec
  3434.  
  3435. After you have defined  the first test (the three  steps outlined
  3436. above), you may  finish the  Selection Spec by  choosing the  END
  3437. option   or,  you  may   specify  additional  selection  criteria
  3438. (actually you may  add up to  four additional tests, five  total)
  3439. with the AND/OR choices.  These are detailed next.
  3440.  
  3441. The  last  screen  in  defining  the  Selection  Spec  lists  the
  3442. following choices:
  3443.  
  3444. 1- AND-  The  record must pass the test you have  just created AND
  3445.    also must pass the next (new) one that you specify.  You  would
  3446.    use  this option  to further  define the  scope of  records for
  3447.    which ProFile would search.
  3448.  
  3449.      For instance,  if  you had  created  a Selection  Spec  that
  3450.      specified all customers  with sales over $100.00,  you could
  3451.      use AND to  add an additional  test for City Equal  CHICAGO.
  3452.      ProFile would then search for  all customers with sales over
  3453.      $100.00 AND who  were in  Chicago.  The completed  selection
  3454.      spec would look like this:
  3455.  
  3456.      Sales Greater Than 100.00 AND
  3457.      City Equal CHICAGO
  3458.  
  3459. 2- OR-  The record  must pass the  test that  you just created  OR
  3460.    pass  the  next  (new)  one  that  you  specify.   This  option
  3461.    broadens the scope of records for which ProFile will search.
  3462.  
  3463.  
  3464.  
  3465.  
  3466.  
  3467.  
  3468.  
  3469.  
  3470.  
  3471.  
  3472.  
  3473.  
  3474.  
  3475.  
  3476.  
  3477.  
  3478.  
  3479.  
  3480.  
  3481.  
  3482.  
  3483.  
  3484.  
  3485.  
  3486.  
  3487. ProFile                                            Edit Data   51
  3488.  
  3489.  
  3490.  
  3491.  
  3492.  
  3493.  
  3494.  
  3495.  
  3496.  
  3497.  
  3498.  
  3499.  
  3500.  
  3501.  
  3502.  
  3503.  
  3504.  
  3505.  
  3506.  
  3507.  
  3508.  
  3509.                Figure 10:  Ending a Selection Spec
  3510.  
  3511.  
  3512.  
  3513.  
  3514.  
  3515.  
  3516.      Suppose that you wanted to  search for customers in  Chicago
  3517.      or  St. Louis.    After  creating  a  Selection   Spec  that
  3518.      specified  City  Equal  CHICAGO, you  would  choose  OR then
  3519.      specify City Equal ST. LOUIS.  It would look like this:
  3520.  
  3521.      City Equal CHICAGO OR
  3522.      City Equal ST. LOUIS
  3523.  
  3524. 3- END-  This option concludes the Selection Spec process.
  3525.  
  3526.  
  3527. Editing the Selection Spec
  3528.  
  3529. You may edit the Selection Spec by pressing [Esc], or F9.
  3530.  
  3531. At any screen except Select Fields you may press [Esc] to  edit a
  3532. previous step.   Pressing [Esc]  at the  Select Fields step  will
  3533. allow you to quit the Create Selection Spec function.
  3534.  
  3535. Pressing F9 (at any  screen except Select Fields) will  allow you
  3536. to edit  the entire Selection Spec, starting from the beginning.
  3537.  
  3538.  
  3539.  
  3540.  
  3541.  
  3542.  
  3543.  
  3544.  
  3545. Edit Data   52                                            ProFile
  3546.  
  3547.  
  3548. Other Important Details
  3549.  
  3550. The Selection Spec handles certain field types in special ways-
  3551.  
  3552. Dates        When   you  enter  a   date  always  use  the  format
  3553.              MM/DD/YY.  After  entering a date, ProFile will strip
  3554.              the  slashes (/) out and put the year first.  It does
  3555.              this   so  that  you  can  search  for  dates  across
  3556.              multiple years.
  3557.  
  3558.              For   example,  after   entering  "01/15/87"  ProFile
  3559.              writes  on the  screen "860115"  (YYMMDD).   Since it
  3560.              orders  it  this way,  you could  create a  Selection
  3561.              Spec that would  look for all dates between August 1,
  3562.              1986  and January 15, 1987.  The Selection Spec would
  3563.              look like this:
  3564.  
  3565.                Date Equal or Greater Than 860901 AND
  3566.                Date Equal or Less Than 870115
  3567.  
  3568. Currency     Numbers  and currency  may be  entered with  Numbers,
  3569.              commas,    and    dollar   signs.     ProFile    will
  3570.              automatically strip these so it can properly  compare
  3571.              your entered criteria with that in the database.
  3572.  
  3573. Finally, remember that the Selection  Spec is not case sensitive.
  3574. It considers upper  and lower  case characters as  the same.   In
  3575. fact, ProFile  automatically capitalizes  the Selection  Spec for
  3576. you.   For example,  entering State  Equal MD means  ProFile will
  3577. find all records where the state field has MD, Md, md, or mD.
  3578.  
  3579.  
  3580.  
  3581.  
  3582.  
  3583.  
  3584.  
  3585.  
  3586.  
  3587.  
  3588.  
  3589.  
  3590.  
  3591.  
  3592.  
  3593.  
  3594.  
  3595.  
  3596.  
  3597.  
  3598.  
  3599.  
  3600.  
  3601.  
  3602.  
  3603. ProFile                                               Report   53
  3604.  
  3605.  
  3606. Report
  3607.  
  3608. With the Report option  you may take selected information  from a
  3609. database, sort  it, and  display or  print the  information in  a
  3610. column-style report or  table.  It is  easy to create  and use  a
  3611. report.
  3612.  
  3613. Before using the Report  option, you must first design  your form
  3614. and then enter information into it.
  3615.  
  3616.  
  3617. Report Overview
  3618.  
  3619. There are three basic steps to getting a finished report:
  3620.  
  3621. 1.   Design  the  report.   You choose  what  fields  to include,
  3622.      column headings,  and  widths,  and  define  any  calculated
  3623.      columns.
  3624.  
  3625. 2.   Set the page and report options.  These include page lengths
  3626.      and margins, what records to include, and how they should be
  3627.      ordered.
  3628.  
  3629. 3.   Print the report.  You may print it to a printer, disk file,
  3630.      or display the report on the screen.
  3631.  
  3632. With the Report option you may either design a new report  or use
  3633. (and  change)  an existing  one.  To  design  a report,  you tell
  3634. ProFile what information  to take  from the database  and how  to
  3635. arrange it in columns and rows.  You may then print the report on
  3636. paper, to a  disk file, or display  it on screen.  You  may print
  3637. the report as soon as you  have designed it or save it for  later
  3638. use.
  3639.  
  3640. Once the  report design has  been saved to  disk, it can  be used
  3641. whenever you need it.  You can use the same report even after you
  3642. have added, changed, or deleted records in the database.  Changed
  3643. and new information in your database is automatically included in
  3644. a given report.
  3645.  
  3646. You may  change or copy  a report design  that has been  saved to
  3647. disk.  The changes  you make  can be  permanent or  for one  time
  3648. only.  A database  may have  an unlimited number  of reports  and
  3649. with certain conditions,  a report may be  shared among different
  3650. databases (they must use the same field labels).
  3651.  
  3652. To get started, choose Report from the Print Menu.
  3653.  
  3654.  
  3655.  
  3656.  
  3657.  
  3658.  
  3659.  
  3660.  
  3661. Report   54                                               ProFile
  3662.  
  3663.  
  3664.  
  3665.  
  3666. Design a Report
  3667.  
  3668. It is easy to design a  new report.  Follow the steps below;  the
  3669. details are given in the following pages.
  3670.  
  3671. 1.   After choosing Report from the Print  Menu, enter a new file
  3672.      name for the report.
  3673.  
  3674. 2.   Design the report using the Report Layout function.
  3675.  
  3676. 3.   Specify any report options from the Report Menu.
  3677.  
  3678. 4.   Enter in a Selection Spec and a Sort Spec, if you desire.
  3679.  
  3680. 5.   Print the report to screen, disk, or printer.
  3681.  
  3682.  
  3683. Entering a Report File Name
  3684.  
  3685. To choose an  existing report or  create a new  one, you use  the
  3686. File Manager.  A brief overview of the File Manager follows.  See
  3687. page #8 for a detailed discussion on its operation.
  3688.  
  3689. After  choosing Report,  the File  Manager lists  all the  report
  3690. designs available on  the current  disk.  Use the  arrow keys  to
  3691. move  the  cursor  bar to  an  existing  report,  or if  you  are
  3692. designing  a new report, choose a name for it and enter it on the
  3693. prompt line.
  3694.  
  3695. If you enter or choose an existing report name, ProFile will load
  3696. the report design.  Next the Report Menu will be displayed.   See
  3697. page #67 for more information on it.
  3698.  
  3699. If you are  designing a new report, ProFile will  inform you that
  3700. it cannot  find the  file that  you have  entered and  ask if  it
  3701. should be created.
  3702.  
  3703.  
  3704. Report Layout Menu
  3705.  
  3706. The  Report Layout Menu is displayed  when a new report design is
  3707. created or after selecting Layout from the Report Menu.
  3708.  
  3709. ProFile uses a menu  to help you create report layouts.  The menu
  3710. has  options  to add,  edit, insert,  or  delete columns  in your
  3711. report.  ProFile  helps you by  displaying your report  design on
  3712. the screen.
  3713. At the top of the Report Menu is a ruler line.  As you create the
  3714. report, it is  displayed below the ruler.   If a report  is wider
  3715.  
  3716.  
  3717.  
  3718.  
  3719. ProFile                                               Report   55
  3720.  
  3721.  
  3722. than  80 characters,  pressing the F4  and F5 keys  will move the
  3723. report   display  right   one   character   and  80   characters,
  3724. respectively.  Press F3 and F5 to  move left one character and 80
  3725. characters, respectively.  The  status line  to the  left of  the
  3726. Report Layout  Menu lists the number of  columns and the width of
  3727. your report.
  3728.  
  3729. The following options appear on the Report Layout Menu.
  3730.  
  3731. Add-         This  option lets you add  columns to the end  of the
  3732.              report.
  3733.  
  3734. Edit-        To  edit a column, enter in the column number to edit
  3735.              and press [ENTER].   Make any  changes and then press
  3736.              F10 to save  and return  to the  Report Layout  Menu.
  3737.              Pressing  [Esc] will exit  to the Report Layout Menu,
  3738.              discarding any changes.
  3739.  
  3740. Insert-      Works like Add but  lets you choose the column number
  3741.              to insert.
  3742.  
  3743. Delete-      Deletes the column of your choice.
  3744.  
  3745. Heading-     Use  this option  to change the  headings that appear
  3746.              above each column of  the report.  You may use up  to
  3747.              three  lines for column headings.  The column heading
  3748.              will default  to the  field name  when the column  is
  3749.              created, after which it may be changed as desired.
  3750.  
  3751. Done-        Finished designing.  Return to the Report Menu.
  3752.  
  3753.  
  3754. Designing the Report Layout
  3755.  
  3756. You create the layout  of the report.  The finished  report looks
  3757. like a large table with columns and rows.  Each column is a field
  3758. and each row is a record.
  3759.  
  3760. Here's how to design a report layout:
  3761.  
  3762. 1.   Make certain that you are at the Report Layout Menu.
  3763.  
  3764. 2.   Select Add from the menu.
  3765.  
  3766. 3.   Choose the  field from the list  that you want  to appear in
  3767.      this  column.   (Or,  select  CALCULATION for  a  calculated
  3768.      column.  More on this shortly.)
  3769.  
  3770. 4.   Next,  the  Report Column  Detail  screen appears.   ProFile
  3771.      automatically fills in  the column  heading and width.   You
  3772.      may change these or accept the given values.
  3773.  
  3774.  
  3775.  
  3776.  
  3777. Report   56                                               ProFile
  3778.  
  3779.  
  3780.  
  3781.  
  3782.  
  3783.  
  3784.  
  3785.  
  3786.  
  3787.  
  3788.  
  3789.  
  3790.  
  3791.  
  3792.  
  3793.  
  3794.  
  3795.  
  3796.  
  3797.  
  3798.  
  3799.                   Figure 11: Report Layout Menu
  3800.  
  3801.  
  3802.  
  3803.  
  3804.  
  3805.  
  3806. 5.   You may  specify  report totals,  subtotals, averages,  sub-
  3807.      average counts, and  subcounts.  You may also  designate the
  3808.      number  of decimal  places for  numeric columns and  how the
  3809.      column should be centered.
  3810.  
  3811. 6.   Press F10 when done.
  3812.  
  3813. After you  press F10,  you will  be prompted  Add Another  Column
  3814. [Y/N]?.  Entering Yes  lets you continue adding  columns while No
  3815. takes you back to the Report Layout Menu.
  3816.  
  3817. You may continue adding  columns until your report is  completed.
  3818. Use the edit,  insert, and delete  functions to alter the  report
  3819. design as needed.
  3820.  
  3821. Figure #11 and figure #12 show the  Report Layout Menu and Report
  3822. Column Detail screens.
  3823.  
  3824.  
  3825.  
  3826.  
  3827.  
  3828.  
  3829.  
  3830.  
  3831.  
  3832.  
  3833.  
  3834.  
  3835. ProFile                                               Report   57
  3836.  
  3837.  
  3838. Adding a New Column
  3839.  
  3840. Choose the  Add function  from the  Report Layout  Menu to  add a
  3841. column to your  report.  You may  use Add when  you create a  new
  3842. report or to  add additional columns  to one that you  previously
  3843. created and saved.
  3844.  
  3845.  
  3846.  
  3847.  
  3848.  
  3849.  
  3850.  
  3851.  
  3852.  
  3853.  
  3854.  
  3855.  
  3856.  
  3857.  
  3858.  
  3859.  
  3860.  
  3861.  
  3862.  
  3863.               Figure 12: Adding a field to a report
  3864.  
  3865.  
  3866.  
  3867.  
  3868.  
  3869.  
  3870. After choosing  Add, you  select the appropriate  field from  the
  3871. list  (or select CALCULATION to  create a calculated column; more
  3872. on  this soon).   All of the  fields in  your form are  listed by
  3873. name. You  may move  the cursor bar  to select  a field  with the
  3874. cursor keys.  Selecting  a field name means that  the information
  3875. from this field will appear in this column.
  3876.  
  3877.  
  3878. Report Column Detail
  3879.  
  3880. The next screen, Report Column Detail, allows you to enter in the
  3881. specifications  for  this column.    At  the top  of  the screen,
  3882. ProFile lists the column number,  the field associated with  this
  3883. column and the current report width and total number of columns.
  3884.  
  3885. Below  this  are a  series of  options  that control  the current
  3886. column.  Here are the details.
  3887.  
  3888.  
  3889.  
  3890.  
  3891.  
  3892.  
  3893. Report   58                                               ProFile
  3894.  
  3895.  
  3896. Length-   This controls  the width of the current  column.  Enter
  3897.           in a number  from 0  to 99.   Remember to leave  enough
  3898.           room for any totals, counts,  decimal places, etc. that
  3899.           will need to be printed.
  3900.  
  3901. Decimal-  Valid only for numbers.  Enter a decimal place up to 9.
  3902.           If this is a text column, Decimal will be skipped.
  3903.  
  3904. Wrap-     For text information  only.   Enter a "Y"  to have  the
  3905.           data associated  with this  column wrapped  (like in  a
  3906.           word processor) or "N" to have  any values that are too
  3907.           long truncated.
  3908.  
  3909. Format-   Valid  only for numbers.  There  are three options, "N"
  3910.           for  numbers,  "$" for  currency  and "%"  for percent.
  3911.           These options will  cause numeric data to  be formatted
  3912.           accordingly, i.e. currency with a "$" and percents with
  3913.           "%".  All numeric fields will be  formatted with commas
  3914.           when printed.
  3915.  
  3916. Options-  This function controls  what totals, subtotals, counts,
  3917.           etc.  should  be  performed on  this  field.   See  the
  3918.           section below,  Column  Calculation  Options  for  more
  3919.           details.
  3920.  
  3921. Subtotal Field #-
  3922.           Valid only  if  a math  option (see  Option above)  was
  3923.           entered.   This controls  which field  in the  database
  3924.           should  cause the  column  to subtotal,  subcount, etc.
  3925.           Enter in the  field number  (not column number)  which,
  3926.           when its value changes, should cause  this column to be
  3927.           subtotaled.
  3928.  
  3929. Print Repeat Data-
  3930.           Enter a "Y"  to always print  the data in this  column.
  3931.           "N" means only print this data when the value changes.
  3932.  
  3933. Text When Blank-
  3934.           Enter in the text  that should be printed if  the field
  3935.           associated with this column is empty.
  3936.  
  3937. Column Spacing-
  3938.           Enter  the  number of  spaces  that should  be inserted
  3939.           between this column and the one that follows.
  3940.  
  3941. Justify Heading-
  3942.           This  is  the  initial  justification  for  the  column
  3943.           heading.  Enter an "L" to left justify, an "R" to right
  3944.           justify and  a "C" to center.   Any changes made to the
  3945.           column heading using  the Heading option on  the Report
  3946.  
  3947.  
  3948.  
  3949.  
  3950.  
  3951. ProFile                                               Report   59
  3952.  
  3953.  
  3954.           Layout Menu will override the  this setting (unless the
  3955.           column data is edited).
  3956.  
  3957. Justify Data-
  3958.           This  is the justification for the  column data.  Enter
  3959.           an "L" to left  justify, an "R" to right  justify and a
  3960.           "C" to center.
  3961.  
  3962.  
  3963. Report Column Guidelines
  3964.  
  3965. Listed below are a few guidelines for creating columns:
  3966.  
  3967. 1.   Make certain that  the column  is wide enough  for the  data
  3968.      that  goes  in it.   If a  column  is too  short, alphabetic
  3969.      information will be truncated (or  wrapped, depending on the
  3970.      Wrap  setting)  and numeric  data  will appear  as asterisks
  3971.      (indicating there was not enough  room for the number). When
  3972.      calculating the column  width for  numbers, don't forget  to
  3973.      include decimal places,  the decimal  point, commas and,  if
  3974.      currency, a floating dollar sign.
  3975.  
  3976. 2.   ProFile keeps track of the field labels associated  with the
  3977.      report column.  It doesn't matter if  you change the form by
  3978.      adding fields or  changing the order of the existing fields;
  3979.      your reports will still work.
  3980.  
  3981.      If you  delete a  field from  your  form that  appears in  a
  3982.      report, upon  loading the  report, ProFile  will inform  you
  3983.      that the field  was not found.   When you print the  report,
  3984.      ProFile  will  insert "N/A"  (not  available) in  the column
  3985.      where the information from the field would have appeared.
  3986.  
  3987.      Note-  Although ProFile  keeps track of the fields,  it does
  3988.      not automatically change the numbers  in calculations or the
  3989.      Subtotal Field #.  You must perform these changes yourself.
  3990.  
  3991.  
  3992. Report Calculation Options
  3993.  
  3994. Column  options  allow  you  to  perform calculations  on  report
  3995. columns that contain numeric information.  ProFile does this when
  3996. you  put  the proper  code in  the  "Options" blank  when adding,
  3997. inserting, or editing a column.
  3998.  
  3999. Adding column calculation codes:
  4000.  
  4001. 1.   Choose Add,  Edit, or  Insert from  the Report  Layout Menu.
  4002.      Enter  the  appropriate  field or  column  number  and press
  4003.      [ENTER].
  4004.  
  4005.  
  4006.  
  4007.  
  4008.  
  4009. Report   60                                               ProFile
  4010.  
  4011.  
  4012. 2.   Move to the Options blank.
  4013.  
  4014. 3.   Enter the column calculation code from the table below.  You
  4015.      may enter more than  one calculation from the chart,  but be
  4016.      sure to separate each one by a space or comma.
  4017.  
  4018. 4.   Finally, move the cursor to the  Subtotal Field # prompt and
  4019.      enter  in  the number  of the  field  which, when  its value
  4020.      changes,  should  cause  this  column  to  to  subtotal  (or
  4021.      subaverage, subcount).
  4022.  
  4023. 5.   Enter any other  information that  you wish.   Press F10  to
  4024.      continue.
  4025.  
  4026.  
  4027.  
  4028. Code Command      Meaning                  Location
  4029. ----------------------------------------------------------------
  4030. T       Total     Print Column Total    Report Bottom
  4031. A       Average   Print Column Average
  4032. C       Count     Print Column Count
  4033.  
  4034. ST   Subtotal    Print Subtotal         At Column Breaks
  4035. SA   Subaverage   Print Subaverages
  4036. SC   Subcount     Print Subcount
  4037.  
  4038. Note-   All  of  the  Sub  functions:  subtotal,  subaverage,  and
  4039. subcount, will automatically print out  the companion function at
  4040. the end of the report, i.e. subtotal  also prints a report total,
  4041. subaverage also prints a report average, etc.
  4042.  
  4043.                Figure: Chart of column calculations
  4044.  
  4045.  
  4046.  
  4047. Report Finals
  4048.  
  4049. The final results of  totals, averages and counts will  appear at
  4050. the end of the report beneath the column on which the function is
  4051. performed.  See figure #14.
  4052.  
  4053.  
  4054. Report Subcalculations
  4055.  
  4056. ProFile can also  do subcalculations on  values that appear in  a
  4057. column.  Subcalculations are done when the value of the  subtotal
  4058. field changes.  See figure #15 for an example.
  4059.  
  4060.  
  4061.  
  4062.  
  4063.  
  4064.  
  4065.  
  4066.  
  4067. ProFile                                               Report   61
  4068.  
  4069.  
  4070. Calculated Columns
  4071.  
  4072. You create a calculated column to produce information that is not
  4073. available from an existing  field in your form.  For  example, if
  4074. you  had a  form with a  field for  state taxes  and a  field for
  4075. federal taxes, you could  create a calculated column to  add them
  4076. together and produce a "Total Tax" column in a report.
  4077.  
  4078. ProFile  ordinarily  gets  information  for  a column  from  your
  4079. database.    It   creates   calculated   columns  by   performing
  4080. calculations on information in your  database or other calculated
  4081. columns.  There is no  limit to the number of  calculated columns
  4082. appearing in a report.
  4083.  
  4084.  
  4085.  
  4086.  
  4087.  
  4088.  
  4089.  
  4090.  
  4091.  
  4092.  
  4093.  
  4094.  
  4095.  
  4096.  
  4097.  
  4098.  
  4099.  
  4100.  
  4101.  
  4102.  
  4103.  
  4104.  
  4105.  
  4106.  
  4107.  
  4108.  
  4109.  
  4110.                    Figure: Sample sorted report with totals
  4111.  
  4112.  
  4113.  
  4114.  
  4115.  
  4116.  
  4117.  
  4118.  
  4119.  
  4120.  
  4121.  
  4122.  
  4123.  
  4124.  
  4125. Report   62                                               ProFile
  4126.  
  4127.  
  4128. To create a calculated column:
  4129.  
  4130. 1.   Choose Add  or Insert from  the Report Layout  Menu.  Select
  4131.      CALCULATION from the field list by  moving the cursor bar to
  4132.      it and pressing [ENTER].
  4133.  
  4134. 2.   Enter the width, decimal,  options, etc. as you would  for a
  4135.      standard column.
  4136.  
  4137. 3.   Move to the Formula prompt and enter your calculation.   See
  4138.      the details below.
  4139.  
  4140. 4.   Press F10 when done.
  4141.  
  4142. 5.   Add the column header as needed.
  4143.  
  4144.  
  4145.  
  4146.  
  4147.  
  4148.  
  4149.  
  4150.  
  4151.  
  4152.  
  4153.  
  4154.  
  4155.  
  4156.  
  4157.  
  4158.  
  4159.  
  4160.  
  4161.  
  4162.  
  4163.  
  4164.  
  4165.  
  4166.  
  4167.  
  4168.  
  4169.  
  4170.  
  4171.  
  4172.  
  4173.  
  4174.  
  4175.  
  4176.               Figure: Report with subtotals, sorted by city
  4177.  
  4178.  
  4179.  
  4180.  
  4181.  
  4182.  
  4183. ProFile                                               Report   63
  4184.  
  4185.  
  4186. Creating Formulas
  4187.  
  4188. Creating a  calculated column in a  report is easy; just  enter a
  4189. formula into the  "Formula" blank.   The formula  will look  just
  4190. like those used in a calculated field in the form.  Or like those
  4191. in  spreadsheet programs such as Lotus 1-2-3 and Microsoft Excel.
  4192. To reference a field or  column, use an "F" for fields  and a "C"
  4193. for column, followed by the field or column number.
  4194.  
  4195. Basic calculations use  a field or  column number, an  arithmetic
  4196. operator  ("+"  for  addition,  "-"   for  subtraction,  "*"  for
  4197. multiplication, "/" for division, "^" to raise to
  4198.  
  4199.  
  4200.  
  4201.  
  4202.  
  4203.  
  4204.  
  4205.  
  4206.  
  4207.  
  4208.  
  4209.  
  4210.  
  4211.  
  4212.  
  4213.  
  4214.  
  4215.  
  4216.  
  4217.  
  4218.  
  4219.  
  4220. any  power  i.e 2^3  = 8)  and  another field  or  column number.
  4221. Formulas can  be as  simple as  F9+F10 (field  9 plus  field 10).
  4222. More advanced formulas can use  ProFile's built-in functions such
  4223. as TAN (tangent) and ABS (absolute).
  4224.  
  4225. The following are all valid formulas:
  4226.  
  4227. F9+F10              Field 9 plus Field 10.
  4228.  
  4229. F7+F8-F11           Field 7 plus Field 8 minus Field 11.
  4230.  
  4231. (F11*100) - C7      Field 11 times 100; subtract the result  from
  4232.                     Column 7.
  4233.  
  4234. ProFile checks the  formula after you  enter it.  If it  finds an
  4235. error, it beeps and displays the position of the first error that
  4236. it  encountered.   Common  problems are  incomplete  parentheses,
  4237.  
  4238.  
  4239.  
  4240.  
  4241. Report   64                                               ProFile
  4242.  
  4243.  
  4244. invalid field or column references, and  symbols that it does not
  4245. understand.  To correct  an error,  just move the  cursor to  the
  4246. mistake and make the necessary changes.
  4247.  
  4248.  
  4249. Self Referencing Columns
  4250.  
  4251. ProFile  allows  you  to  create formulas  where  a  column  will
  4252. reference itself, which is extremely  useful for printing running
  4253. totals.  Assume that column  #3, in a report, references  a field
  4254. called "Sales".  You can  create a calculated column (column  #5)
  4255. with the formula C4+C5 and label  it "Total Sales".  ProFile will
  4256. add  the value  from the  previous row  of "Total  Sales"  to the
  4257. current value in "Sales" and then place the result in the current
  4258. row of "Total Sales".
  4259.  
  4260.  
  4261. Error Messages for Formulas
  4262.  
  4263. When printing the  report, ProFile uses  two messages to let  you
  4264. know that there is  a problem.  Either error message  will appear
  4265. in the column where ProFile finds the problem.
  4266.  
  4267. ERR-    This  message  means that  the  field  or column  does not
  4268.         contain a valid number.
  4269.  
  4270. DIV  0- If the  formula in  a calculated  column asks  ProFile to
  4271.         divide  by zero,  or an invalid  argument was passed  to a
  4272.         the Sqrt, Ln or  Log function, ProFile puts  DIV 0 in  the
  4273.         report.   Use Report Layout to examine the problem formula
  4274.         and make whatever changes are appropriate.
  4275.  
  4276.  
  4277. Invisible Columns
  4278.  
  4279. Sometimes you might want  to create a column for  an intermediate
  4280. calculation but the column  should not be printed in  the report.
  4281. This  is called  an  invisible column.   To  create an  invisible
  4282. column, simply  set the length of the column  to zero (0).  It is
  4283. just like a standard  column except that it does not  appear in a
  4284. report.  Invisible columns are used for intermediate calculations
  4285. for other calculated columns.
  4286.  
  4287. Since the column is invisible, it will not appear below the ruler
  4288. line in  the Report  Layout section.   To examine  or delete  it,
  4289. simply use the Edit or Delete function and enter in the number of
  4290. the invisible column.
  4291.  
  4292.  
  4293.  
  4294.  
  4295.  
  4296.  
  4297.  
  4298.  
  4299. ProFile                                               Report   65
  4300.  
  4301.  
  4302. Column Headings
  4303.  
  4304. ProFile lets  you create column  headings that will  appear above
  4305. each column when the report  is printed.  Column headings may  be
  4306. up to three lines and as wide as the associated column.
  4307.  
  4308. The column heading is initially set  to the field name associated
  4309. with the column.   This may be changed as with the Heading option
  4310. on  the  Report  Layout Menu.    The  heading  will be  initially
  4311. justified according to the Justify Heading setting on the  Column
  4312. Detail  screen.   If  the  heading  is changed,  the  change will
  4313. supercede the initial setting (unless the column detail is edited
  4314. at a later time).
  4315.  
  4316. To set column headings:
  4317.  
  4318. 1.   Select Heading from the Report Layout Menu.
  4319.  
  4320. 2.   Column number  1 will  be highlighted.   You  may edit  this
  4321.      column or [Tab] to the appropriate column.
  4322.  
  4323. 3.   Use the up and  down arrow keys to move to  the correct line
  4324.      and enter or delete the heading as needed.
  4325.  
  4326. 4.   Continue to [Tab]  to the other  columns to make  additional
  4327.      changes.
  4328.  
  4329. 5.   Press F10 to return to the Report Layout Menu.
  4330.  
  4331. 6.   Pressing Esc will  cancel any changes to  the current column
  4332.      and  then  return to  the  Report  Layout Menu.    All other
  4333.      columns changes will remain.
  4334.  
  4335.  
  4336. Report Menu
  4337.  
  4338. The  Report Menu  appears after selecting  an existing  report or
  4339. when finished creating a new design.
  4340.  
  4341. The Report Menu  options listed below  control how the report  is
  4342. printed.
  4343.  
  4344. Format-   This option allows  you to  change the report  margins,
  4345.           insert  printer  control  codes and  choose  the  print
  4346.           destination.
  4347.  
  4348. Layout-   Use this choice to access the Report Layout function to
  4349.           make additional changes to the current report.
  4350.  
  4351. Select-   Create or change the Selection Spec.
  4352.  
  4353.  
  4354.  
  4355.  
  4356.  
  4357. Report   66                                               ProFile
  4358.  
  4359.  
  4360. Sort-     Create or change the Sort Spec.
  4361.  
  4362. Hdr/Ftr-  This option creates the report  header and footers that
  4363.           are  printed at the  top and bottom  of each  page in a
  4364.           report.
  4365.  
  4366. New-      Selecting New from  the Report Menu lets you retrieve a
  4367.           new report design.   Before exiting, you  will be asked
  4368.           if you'd like to save your current report.
  4369.  
  4370.  
  4371. Save-     Choose the Save  option to store the  report design and
  4372.           any changes you may have made permanently on disk.
  4373.  
  4374. Print-    Print the report.
  4375.  
  4376. Done-     Once you have  finished with your report,  press F10 or
  4377.           select Done to return to the  Print Menu.  If you  have
  4378.           made changes to a report design  and have not saved it,
  4379.           you will be given a chance to do so.
  4380.  
  4381.  
  4382.  
  4383.  
  4384.  
  4385.  
  4386.  
  4387.  
  4388.  
  4389.  
  4390.  
  4391.  
  4392.  
  4393.  
  4394.  
  4395.  
  4396.  
  4397.  
  4398.  
  4399.                       Figure 17: Report Menu
  4400.  
  4401.  
  4402.  
  4403.  
  4404.  
  4405.  
  4406.  
  4407.  
  4408.  
  4409.  
  4410.  
  4411.  
  4412.  
  4413.  
  4414.  
  4415. ProFile                                               Report   67
  4416.  
  4417.  
  4418. Format
  4419.  
  4420. Selecting Format on the Report Menu brings up the Page and Report
  4421. Format screen.  This function  lets you set various  options that
  4422. control  how your  report  will look  and  what information  will
  4423. appear in it.
  4424.  
  4425. To change settings on the Page and Report Format screen:
  4426.  
  4427. 1.   Use the up and down arrow keys to move to  the item that you
  4428.      want to change.
  4429.  
  4430.  
  4431. 2.   Type in the  new value for the item.  Check  the status line
  4432.      below the format box to see what a special option means.
  4433.  
  4434. 3.   Repeat steps  1 and 2  for other values  that you'd like  to
  4435.      change.
  4436.  
  4437. 4.   Press F10 when done.
  4438.  
  4439.  
  4440. Your printed report contains a top margin, report header,the body
  4441. of the report, a footer and then a bottom margin.  It  looks like
  4442. this:
  4443.  
  4444.  
  4445.  
  4446.                            Top of Page
  4447. -----------------------------------------------------------------
  4448.                             TOP MARGIN
  4449.  
  4450.                              -------
  4451.  
  4452.                               HEADER
  4453.  
  4454. -----------------------------------------------------------------
  4455.  
  4456.                           Body of Report
  4457.  
  4458.  
  4459. -----------------------------------------------------------------
  4460.                               FOOTER
  4461.  
  4462.                              -------
  4463.  
  4464.                           BOTTOM MARGIN
  4465. -----------------------------------------------------------------
  4466.                           Bottom of Page
  4467.  
  4468.                 Figure: Example of report format
  4469.  
  4470.  
  4471.  
  4472.  
  4473. Report   68                                               ProFile
  4474.  
  4475.  
  4476. The length  of a printed page is measured in lines.  To correctly
  4477. format a  printed page  in your  report,  remember this  formula:
  4478. report body (i.e. printed data) =  page length - length of header
  4479. and footer - top margin - bottom margin.  This means that if your
  4480. page length is  66 (a standard 8.5"  X 11.0" piece of  paper) and
  4481. your top and bottom margins are  2 each, and you have a one  line
  4482. header and  footer, the  body of  your report  will be  66-2-2-2,
  4483. which equals 60 lines long.
  4484.  
  4485.  
  4486. Format Options
  4487.  
  4488. The following describes what  each of the options on the Page and
  4489. Report Format screen mean.
  4490.  
  4491. Printer  Setup-   Use printer  setup to  send  special formatting
  4492. codes to  the printer  before the  report is  printed.  Many  dot
  4493. matrix and laser printers have  different font and pitch  options
  4494. that can be  turned on by sending the appropriate  codes to them.
  4495. The  codes usually  are a  mix of control  characters (characters
  4496. that  are  not printable)  and  regular characters,  i.e. A-Z and
  4497. 0-9.
  4498.  
  4499. To  signify a control character, use a  caret and then the letter
  4500. of the control  code.  For instance, to  send a Control N  to the
  4501. printer (this turns on condensed mode  in Epson printers), type a
  4502. caret (^) and then  "N", giving you ^N.   To send a caret to  the
  4503. printer, type  in a  caret (^)  and then  a space  (the space  is
  4504. ignored),   i.e. ^space  =^.    See   your  printer   manual  for
  4505. information on what control codes work for your printer.
  4506.  
  4507. Page Length-   This is the overall length of each sheet of paper,
  4508. in  lines.  A standard  8.5" X 11.0"  piece of paper  is 66 lines
  4509. long.
  4510.  
  4511. Top Margin-   The number of blank lines  at the beginning of each
  4512. page.
  4513.  
  4514. Bottom Margin-   The  number of blank  lines at  the end  of each
  4515. page.
  4516.  
  4517. Print Margin-   The  number of  characters the  ENTIRE report  is
  4518. shifted to the  right.  Increase the  print margin if the  report
  4519. prints on the continuous  form perforation or to center  a narrow
  4520. report.
  4521.  
  4522. Page Width-  The width of the page in characters.
  4523.  
  4524.  
  4525.  
  4526.  
  4527.  
  4528.  
  4529.  
  4530.  
  4531. ProFile                                               Report   69
  4532.  
  4533.  
  4534. Print to Printer, Screen, Disk-  Enter in "P","S", or "D".
  4535.  
  4536.    Printer-  Entering "P" causes the report to be printed.
  4537.  
  4538.    Screen-    Printing  to  screen lets  you  preview  your report
  4539.    before printing a hard copy.   This option displays  the report
  4540.    as  you've specified, but it doesn't use top and bottom margins
  4541.    and the report  headings stay fixed at  the top of the  screen.
  4542.    When  displaying  the  report  on  screen,  you  may  pause  by
  4543.    pressing any key.  Touching  a key again, except [Esc], resumes
  4544.    printing.   After the screen is  paused, you may press [Esc] to
  4545.    quit printing the report.
  4546.  
  4547.    Disk-  When a report  is printed to disk,  ProFile puts a  copy
  4548.    of  the  report  in a  file.  (You  enter  the file  name after
  4549.    pressing  F10, which  signifies that you are  done.)   The copy
  4550.    may be printed at a later time by a  word processing program or
  4551.    included in a word processing document.
  4552.  
  4553.  
  4554. Stop at New  Page-  Answer Yes to have ProFile  prompt you at the
  4555. end  of each page.   Answer No if  you are using  continuous form
  4556. paper or printing to disk.
  4557.  
  4558. Hint:  If you are  printing to screen, set the page  length to 22
  4559. and New Page to Yes.  This will cause ProFile to pause after each
  4560. screen of information.
  4561.  
  4562.  
  4563. Report Headers and Footers
  4564.  
  4565. Your report may  contain headers and footers.  These may be up to
  4566. three lines long and 80 characters wide.
  4567.  
  4568. Headers and footers  are handy for including  general information
  4569. about the report being printed.   Also, they may contain keywords
  4570. which will print the  page number, date and file  associated with
  4571. the current report.
  4572.  
  4573.  
  4574. Entering Headers and Footers
  4575.  
  4576. To enter header and footers, follow these steps.
  4577.  
  4578. 1.   Choose Hdr/Ftr from the Report Menu.
  4579.  
  4580. 2.   If you  would like  ProFile to  create  the default  header,
  4581.      answer  "Y" to the  prompt.  The  default may  be changed as
  4582.      desired.
  4583.  
  4584.  
  4585.  
  4586.  
  4587.  
  4588.  
  4589. Report   70                                               ProFile
  4590.  
  4591.  
  4592. 3.   Use the arrow  keys to move  around on the screen,  entering
  4593.      information or keywords as needed.
  4594.  
  4595. 4.   Press F10 to return to the Report Menu.
  4596.  
  4597. Any  blank  lines following  the  header  or footer  will  not be
  4598. printed.
  4599.  
  4600.  
  4601.  
  4602.  
  4603.  
  4604.  
  4605.  
  4606.  
  4607.  
  4608.  
  4609.  
  4610.  
  4611.  
  4612.  
  4613.  
  4614.  
  4615.  
  4616.  
  4617.  
  4618.                   Figure 19: The Hdr/Ftr screen
  4619.  
  4620.  
  4621.  
  4622.  
  4623.  
  4624.  
  4625.  
  4626. Header and Footer Keywords
  4627.  
  4628. A  keyword  tells  ProFile  that  special information  should  be
  4629. printed in place of the keyword.   To enter a keyword in a header
  4630. or  footer, type  the "@"  symbol followed by  the keyword.   The
  4631. following lists the keywords and their meaning.
  4632.  
  4633. @FILENAME-   Prints the database  file name.   This  is handy  for
  4634.              reports  that  are  used  by  multiple  databases  to
  4635.              distinguish  which  database was  used  for  a  given
  4636.              report.
  4637.  
  4638. @PAGE-       Prints the current page number at this location.
  4639.  
  4640. @TODAY-      Prints the current date at this location.
  4641.  
  4642. See Figure #19 for an example of the Header/Footer option.
  4643.  
  4644.  
  4645.  
  4646.  
  4647. ProFile                                               Report   71
  4648.  
  4649.  
  4650. Selection Spec
  4651.  
  4652. To create a Selection Spec choose Select from the Report Menu.
  4653.  
  4654. You don't always want to print all the records in  your database.
  4655. To limit your report to specific  records, you create a Selection
  4656. Spec.  The Selection Spec used here is  just like the one you may
  4657. create using  the Select option  in the Edit  (records) function.
  4658. The  following information gives  a brief overview  of creating a
  4659. Selection Spec.   For more detailed information, see  page #48 in
  4660. the Edit section.
  4661.  
  4662.  
  4663. Using an Existing Selection Spec
  4664.  
  4665. If you are printing a report that was previously created  and the
  4666. design included  a Selection  Spec, the  Format screen  above the
  4667. Report Menu will  list the Selection Spec  as being active.   The
  4668. Spec may be viewed by choosing Select from the Report Menu.
  4669.  
  4670.  
  4671. Creating a Selection Spec
  4672.  
  4673. The Selection  Spec  lets you  control  the information  in  your
  4674. database.  ProFile uses menus to help you build a Selection Spec.
  4675.  
  4676. To create a Selection Spec:
  4677.  
  4678. 1.   Choose Select from the Report Menu.
  4679.  
  4680. 2.   Next, the Selection Spec Menu will be displayed.  Select New
  4681.      to create a new spec.
  4682.  
  4683. 3.   At the prompt, select the field to be compared.
  4684.  
  4685. 4.   Make a selection from the  Comparison menu i.e. specify  how
  4686.      the field should be compared.
  4687.  
  4688. 5.   Enter the information to which the field should be compared.
  4689.  
  4690. 6.   You may select  either the "AND" or "OR" option to add up to
  4691.      four additional selection tests.
  4692.  
  4693. If you make a mistake entering the Selection Spec, press [Esc] to
  4694. return to the previous step.
  4695.  
  4696.  
  4697.  
  4698.  
  4699.  
  4700.  
  4701.  
  4702.  
  4703.  
  4704.  
  4705. Report   72                                               ProFile
  4706.  
  4707.  
  4708. Sort Spec
  4709.  
  4710. If you selected sOrt on the Label Menu or Report Menu (or entered
  4711. a Yes  at a  "Use Sort  Spec" prompt),  you will  be prompted  to
  4712. create a Sort Spec.
  4713.  
  4714. The Sort Spec  controls the order  of the information printed  in
  4715. your report.  For instance, you might want a report to be sorted,
  4716. in ascending order,  by City and then  by Last Name.  This  means
  4717. that the report would be ordered first  by city name and then all
  4718. of those people in  the same city would be  listed alphabetically
  4719. by last name.
  4720.  
  4721. The  City field  is called  a primary  sort field,  Last Name  is
  4722. called a  secondary  sort field.   You  may have  up to  10  sort
  4723. fields, one primary  and then nine secondary fields.  To continue
  4724. with the above example,  if there were many people  with the same
  4725. last name, you  might designate first name  to be the  third sort
  4726. field.  The resulting report would look like figure #20.
  4727.  
  4728. Each field may be designated as  being sorted in either ascending
  4729. or descending order.  Notice the report listed below is organized
  4730. first by city,  then by last name, and finally by first name.  It
  4731. has  been sorted in ASCENDING order.  In  this way, the report is
  4732. organized from lowest to highest, A to Z, 0 to 9, etc.
  4733.  
  4734.  
  4735.  
  4736.  
  4737.  
  4738.  
  4739.  
  4740.  
  4741.  
  4742.  
  4743.  
  4744.  
  4745.  
  4746.  
  4747.  
  4748.  
  4749.                   Figure: Sorted sample report
  4750.  
  4751. Optionally, the  fields (or  some of  the fields)  in the  report
  4752. could have been sorted in DESCENDING  order, that is from highest
  4753. to lowest, which is the reverse of the ascending sort.
  4754.  
  4755.  
  4756.  
  4757.  
  4758.  
  4759.  
  4760.  
  4761.  
  4762.  
  4763. ProFile                                               Report   73
  4764.  
  4765.  
  4766. Sort Spec Menu
  4767.  
  4768. When a Sort Spec is created, you start at the Sort Spec Menu. The
  4769. current Sort Spec  is listed above  the menu. If  a Spec has  not
  4770. been defined, Data Record Order will be displayed.
  4771.  
  4772. The Sort Spec Menu lists five choices:
  4773.  
  4774. New Spec-      Use this  option to  create a new  Sort Spec.   If
  4775.                there is an  existing Spec  displayed, it will  be
  4776.                erased and a new one created.
  4777.  
  4778. Edit  Spec-    With  this option  you may edit  an existing Spec.
  4779.                If one  has not been  created, it will  be created
  4780.                for you.
  4781.  
  4782. Bulk Sort-     Sort the database by the zip code and then arrange
  4783.                for printing in Bulk Mail order.
  4784.  
  4785. Record Order-  Selecting this option clears the existing Spec and
  4786.                defines  the new  Spec to  be all  records in  the
  4787.                database.
  4788.  
  4789. Done-          Finished with the Sort Spec function.
  4790.  
  4791.  
  4792. Creating A Sort Spec
  4793.  
  4794. The Sort Spec screen looks just  like your form, except that  the
  4795. field blanks allow only numbers and sort codes to be entered.
  4796.  
  4797. To create a Sort Spec:
  4798.  
  4799. 1.   Select New from the Sort Spec Menu.
  4800.  
  4801. 2.   When ProFile displays the  Sort Spec screen, use the  up and
  4802.      down arrow keys to move to the  field that you would like to
  4803.      be the primary sort and then enter the number "1" (for first
  4804.      field sorted..
  4805.  
  4806. 3.   ProFile assumes  that you want  to sort in  ascending order.
  4807.      For clarity, you  may optionally append  an "A" to the  sort
  4808.      number to designate  ascending order.  To sort in descending
  4809.      order, enter a "D" after the sort number.
  4810.  
  4811. 4.   If you are printing a report, you may optionally add a break
  4812.      designator.
  4813.  
  4814. 5.   If you  want a secondary sort field,  move to the next field
  4815.      on  which  ProFile  should sort  and  enter  a  "2" and  any
  4816.      optional sort designator.
  4817.  
  4818.  
  4819.  
  4820.  
  4821. Report   74                                               ProFile
  4822.  
  4823.  
  4824.  
  4825.  
  4826. 6.   Repeat the above steps, using successively higher numbers to
  4827.      a maximum of 10, until all sort fields have been entered.
  4828.  
  4829. 7.   Press F10 to continue.
  4830.  
  4831.  
  4832. Sorting Limits
  4833.  
  4834. ProFile can  sort up to 10 fields in a report and which may total
  4835. up to 250 characters.  These  limits have been set so  that sorts
  4836. can be performed  in as  little time as  possible.  If the  field
  4837. length is less than 25, ProFile sorts on the whole field.  If the
  4838. length  is greater than 25, ProFile truncates the information and
  4839. sorts on the first 25 characters.
  4840.  
  4841.  
  4842. Report Sort Page and Line Breaks
  4843.  
  4844. If  you are printing a report,  you may optionally enter page and
  4845. line breaks next to the sort number.  These commands control what
  4846. action  ProFile should  perform  when the  value in  these fields
  4847. change.  If you are not
  4848. printing  a  report, ProFile  ignores  any  page  or  line  break
  4849. commands.
  4850.  
  4851. Page  Breaks-  Enter a "P" next to the  sort number to designate
  4852.                that a new page  should be started when the  value
  4853.                of the field  changes.  For instance,  if you have
  4854.                four  divisions  included  in  a  report  and  you
  4855.                entered a "P"  in the "Division Name"  field, this
  4856.                would force a new page every  time the data in the
  4857.                division name field changed.
  4858.  
  4859. Line Breaks-   Enter an "L", optionally followed by the number of
  4860.                lines to skip,  next to the  sort number for  line
  4861.                breaks.  For instance, entering an "L3" would mean
  4862.                "when the value of this sort field changes, skip 3
  4863.                lines before printing  the next record."   You may
  4864.                enter a number from one to nine following the "L".
  4865.                If no number  is entered  ProFile will default  to
  4866.                skipping one line.
  4867.  
  4868.  
  4869. Bulk Mail Sort
  4870.  
  4871. When you use choose bulk  mail sort, ProFile orders the data  for
  4872. 3rd class bulk mail.
  4873.  
  4874.  
  4875.  
  4876.  
  4877.  
  4878.  
  4879. ProFile                                               Report   75
  4880.  
  4881.  
  4882. ProFile makes it easy  to use the lower bulk mail  rates by doing
  4883. most of the work for you.   When you use bulk mail, ProFile  puts
  4884. the data  in the right  order.  State  by state, it  arranges the
  4885. data first by a five digit count,  then a three digit count, then
  4886. mixed  state.   After  all  states  have been  processed  ProFile
  4887. arranges the remaining data (mixed states).
  4888.  
  4889.  
  4890.  
  4891.  
  4892.  
  4893.  
  4894.  
  4895.  
  4896.  
  4897.  
  4898.  
  4899.  
  4900.  
  4901.  
  4902.  
  4903.  
  4904.  
  4905.                  Figure 21: Creating a Sort Spec
  4906.  
  4907.  
  4908.  
  4909.  
  4910.  
  4911.  
  4912. To use the Bulk Mail Sort:
  4913.  
  4914. 1.   Select the Bulk Sort option on the Sort Menu.
  4915.  
  4916. 2.   At the prompt  Select Zip Code  Field:, select the zip  code
  4917.      field from the list above and press [ENTER].
  4918.  
  4919. That's all there  is to it.  ProFile  will now sort your  data in
  4920. bulk mail  order.   As  it does,  you  will be  informed  of  its
  4921. progress.  When it  is finished, ProFile  will be ready to  print
  4922. your database in bulk mail order.
  4923.  
  4924. If you are printing labels, ProFile  will insert dividers in your
  4925. labels and  create a summary  file for you.   See page  #92 under
  4926. Labels for more information.
  4927.  
  4928.  
  4929. Sorting the Data
  4930.  
  4931. After entering the Sort Spec, ProFile  will perform the sort.  It
  4932. gives you  a status  count as it  works.  Do  not be  alarmed if,
  4933.  
  4934.  
  4935.  
  4936.  
  4937. Report   76                                               ProFile
  4938.  
  4939.  
  4940. during the sort, you notice little  or no disk activity.  ProFile
  4941. will do as much work as  possible inside your computer's internal
  4942. memory.  This is what makes ProFile  so fast.  If ProFile reaches
  4943. the  computer's  internal memory  limit, it  uses  the disk  as a
  4944. temporary holding area for information that is being sorted.
  4945.  
  4946. The more internal RAM memory your  system has, the faster ProFile
  4947. can  sort.   If  you  have extremely  large  files  (10,000  plus
  4948. records) and need to sort  often, consider upgrading your  system
  4949. memory to at least 512 KB for the best performance.
  4950.  
  4951.  
  4952. Printing the Report
  4953.  
  4954. Select Print on the Report Menu to print the report.
  4955.  
  4956. Depending on  your selection at  the Print to  [P,S,D]? prompt on
  4957. the Format screen, ProFile will print the report on your printer,
  4958. display your  report on screen,  or create  a disk file  with the
  4959. report in it.
  4960.  
  4961. With any of  the above options,  you may stop  the report at  any
  4962. time by pressing any key.  ProFile will continue printing as soon
  4963. as you press  any other key,  except [Esc].  Pressing [Esc]  will
  4964. allow you to exit  to the Report Menu and cancel  the report that
  4965. is being printed.
  4966.  
  4967. After the report has been printed, ProFile will display a message
  4968. that the report  has been  completed.  Pressing any  key at  this
  4969. point will return you to the Report Menu.
  4970.  
  4971. You can reprint the report immediately, if you like.  If the same
  4972. Sort and  Selection Specs are used, the data  will not need to be
  4973. resorted.  This means you may make changes to a report format and
  4974. reprint without having to wait for the data to sort.
  4975.  
  4976.  
  4977. Redesigning an Existing Report
  4978.  
  4979. To redesign an existing report, simply  edit the original report.
  4980. Follow these steps:
  4981.  
  4982. 1.   After choosing Report from the Print Menu, enter in the name
  4983.      of the report you'd like to change.
  4984.  
  4985. 2.   At the Report Menu select Layout  to edit the report design.
  4986.      When done press F10 to return to the Report Menu.
  4987.  
  4988. 3.   Specify any new Format, Sort, or Select options.
  4989.  
  4990. 4.   Save the report design, if desired.
  4991.  
  4992.  
  4993.  
  4994.  
  4995. ProFile                                               Report   77
  4996.  
  4997.  
  4998.  
  4999. 5.   Print the report to screen, disk or printer.
  5000.  
  5001. Printing an Existing Report
  5002.  
  5003. You may  have an  unlimited number  of report  designs.  You  may
  5004. print any  report that  you have  previously designed and  saved.
  5005. You may also make temporary modifications  to the report and then
  5006. print it.
  5007.  
  5008. To print an existing report, after choosing Report from the Print
  5009. Menu,  enter in  the file  name you'd  like  to print.   Next the
  5010. Report Menu is displayed.  Select Print to continue, first making
  5011. any changes you would like.
  5012.  
  5013.  
  5014.  
  5015.  
  5016.  
  5017.  
  5018.  
  5019.  
  5020.  
  5021.  
  5022.  
  5023.  
  5024.  
  5025.  
  5026.  
  5027.  
  5028.  
  5029.  
  5030.  
  5031.  
  5032.  
  5033.  
  5034.  
  5035.  
  5036.  
  5037.  
  5038.  
  5039.  
  5040.  
  5041.  
  5042.  
  5043.  
  5044.  
  5045.  
  5046.  
  5047.  
  5048.  
  5049.  
  5050.  
  5051.  
  5052.  
  5053. Labels   78                                               ProFile
  5054.  
  5055.  
  5056. Labels
  5057.  
  5058. Labels lets you  print your form in  a variety of ways.   You may
  5059. print all of the forms or just a  few, include all or a subset of
  5060. the fields in  a record, and  determine where and how  the fields
  5061. will print.
  5062.  
  5063. Labels is used to print:
  5064.  
  5065. o  Mailing labels
  5066.  
  5067. o  Envelopes
  5068.  
  5069. o  Free-form reports and to fill in pre-printed forms
  5070.  
  5071.  
  5072. Getting Started with Labels
  5073.  
  5074. Using  the  Labels  function  is  a  lot like  using  the  Report
  5075. function.  Both  functions use the File Manager to retrieve their
  5076. respective designs.  Also, the Label Menu and the Report Menu are
  5077. very similar.  This  way, they're easier  to learn and use.   The
  5078. following  discussion tells you how to  get started designing and
  5079. printing labels.
  5080.  
  5081.  
  5082. Design a Label
  5083.  
  5084. It is easy  to design a new  label.  Follow the steps  below; the
  5085. details follow:
  5086.  
  5087. 1.   After choosing Label from  the Print Menu, enter a  new file
  5088.      name for the label.
  5089.  
  5090. 2.   Choose the appropriate label from  the Label Size screen and
  5091.      then design the label using the Label Layout function.
  5092.  
  5093. 3.   Select  Format  from the  Label Menu  to  change any  of the
  5094.      options on the Page and Label Format screen.
  5095.  
  5096. 4.   If desired, enter in a Selection Spec or Sort Spec.
  5097.  
  5098. 6.   Print the labels to screen, disk, or printer.
  5099.  
  5100.  
  5101. Entering a Label File Name
  5102.  
  5103. To choose  an existing label design or create  a new one, you use
  5104. the File Manager.  A brief overview  of the File Manager follows.
  5105. See page #8 for a detailed discussion on its operation.
  5106.  
  5107.  
  5108.  
  5109.  
  5110.  
  5111. ProFile                                               Labels   79
  5112.  
  5113.  
  5114. After choosing  Labels, the  File Manager  will list  all of  the
  5115. label designs  available on  the current  active  disk.  Use  the
  5116. arrow keys to  move the cursor bar  to an existing design,  or if
  5117. you are designing a new label, choose  a name for it and enter it
  5118. on the prompt line.
  5119.  
  5120. If you enter  or choose an existing  name, ProFile will  load the
  5121. label design.  Next, the Label Menu  will be displayed.  See page
  5122. #86 for more information on it.
  5123.  
  5124. If you are designing a new label, ProFile will inform you that it
  5125. cannot find  the file that you have entered  and ask if it should
  5126. be created.
  5127.  
  5128.  
  5129. Creating the Label
  5130.  
  5131. Designing  a  label  is  easy  with  ProFile.    You  select  the
  5132. appropriate label size from  a menu and then "paint"  your fields
  5133. in a template of  the label that ProFile displays on  the screen.
  5134. ProFile automatically sets  the label  length, width and  margins
  5135. for you.
  5136.  
  5137.  
  5138. Choosing the Label Size
  5139.  
  5140. After you  elect to create a new label  or select Layout from the
  5141. Label Menu,  ProFile displays the Label Size  screen.  See figure
  5142. #22.
  5143.  
  5144. Fifteen standard labels are  listed, with their length  and width
  5145. shown in inches.  For instance, label number 1 is listed as 15/16
  5146. X 3.  This label would then be 15/16 of an inch long  by 3 inches
  5147. wide.
  5148.  
  5149. In addition to the standard label  sizes, choice number 16 is the
  5150. "Free-Form Label" option.  Use  this option if your label is  not
  5151. listed or if you'd like to  design your own free-form report.   A
  5152. free-form label  uses a  template that  is  66 lines  long by  80
  5153. characters wide.
  5154.  
  5155. ProFile uses the  label size and  the pitch  setting to create  a
  5156. template  of  the label  that  it  displays  on  your  computer's
  5157. screen.  Enter the number of the  label size you want to use  and
  5158. then press [ENTER].  Next, enter the appropriate  pitch that your
  5159. printer  will be  using.  Normally  this would  be 10  or  12 CPI
  5160. (characters per inch), but it could be up to 16 CPI if  you use a
  5161. condensed mode of print on a dot matrix printer.
  5162.  
  5163. The pitch setting is  used ONLY to determine how  many characters
  5164. across can  be printed on a given label.   IT DOES NOT change the
  5165.  
  5166.  
  5167.  
  5168.  
  5169. Labels   80                                               ProFile
  5170.  
  5171.  
  5172. pitch setting on your  printer.  Use the printer setup  option on
  5173. the Format screen to  send the appropriate codes to  your printer
  5174. to change the pitch setting.
  5175.  
  5176. After entering the appropriate label size and pitch settings, the
  5177. Label Layout screen will be displayed.
  5178.  
  5179.  
  5180.  
  5181.  
  5182.  
  5183.  
  5184.  
  5185.  
  5186.  
  5187.  
  5188.  
  5189.  
  5190.  
  5191.  
  5192.  
  5193.  
  5194.  
  5195.  
  5196.  
  5197.                    Figure 22: Label Size screen
  5198.  
  5199.  
  5200.  
  5201.  
  5202.  
  5203.  
  5204.  
  5205. Label Layout
  5206.  
  5207. If you choose one of the 15 preset labels, ProFile will display a
  5208. template on the screen that  is the exact size of your  specified
  5209. label.   Choice  16, free-form  label, is  66  lines long  and 80
  5210. characters wide.
  5211.  
  5212.  
  5213. You must now tell ProFile where each field must be printed on the
  5214. label.  It's easy:
  5215.  
  5216. 1.   Move the cursor using  the arrow keys to the  exact position
  5217.      you'd like your first field to print.
  5218.  
  5219. 2.   Enter the field  name or number  followed by either a  colon
  5220.      ":" or the ">" symbol. The colon means print the  field data
  5221.      only.  It  is used for mailing labels.  The ">" symbol means
  5222.  
  5223.  
  5224.  
  5225.  
  5226.  
  5227. ProFile                                               Labels   81
  5228.  
  5229.  
  5230.      print the field data at this exact row and column. It can be
  5231.      used with a free-form label to fill in pre-printed forms.
  5232.  
  5233. 3.   Repeat the above  steps until  all of the  fields have  been
  5234.      entered.
  5235.  
  5236. 4.   If you can't remember the field  names or numbers, press F10
  5237.      to display your database form.
  5238.  
  5239. 5.   Add any  text that you  would like to  appear on  the label,
  5240.      i.e. return address.
  5241.  
  5242. 6.   Press F10 to continue to the Label Menu.
  5243.  
  5244.  
  5245.  
  5246.  
  5247.  
  5248.  
  5249.  
  5250.  
  5251.  
  5252.  
  5253.  
  5254.  
  5255.  
  5256.  
  5257.  
  5258.  
  5259.  
  5260.  
  5261.  
  5262.                Figure 23: Completed label template
  5263.  
  5264.  
  5265.  
  5266.  
  5267.  
  5268.  
  5269. The label template is an empty box the size of the label that you
  5270. specified earlier.  You must now enter  field names or numbers in
  5271. the  template.  When the  label is printed,  ProFile will replace
  5272. the  field  name  with  the  appropriate  information  from  your
  5273. database.  This  works in  much the  same way  a word  processing
  5274. program works in a mailmerge.  See figure #23 for an example of a
  5275. completed label template.
  5276.  
  5277.  
  5278.  
  5279.  
  5280.  
  5281.  
  5282.  
  5283.  
  5284.  
  5285. Labels   82                                               ProFile
  5286.  
  5287.  
  5288.  
  5289. Editing Keys
  5290.  
  5291. To enter information in the  label template, you may use many  of
  5292. the  same  commands  that  are  available  in  the   Form  Layout
  5293. function.  Here's a brief review.
  5294.  
  5295. Key          Meaning
  5296. ---          -------
  5297.  
  5298. [<--]        Backspace  key will delete  characters to the left of
  5299.              the cursor.
  5300.  
  5301. [Ins]        Will toggle the  program between insert and  typeover
  5302.              mode.
  5303.  
  5304. [Del]        Deletes the current character under the cursor.
  5305.  
  5306. Arrow
  5307. Keys         Move the cursor around the label.
  5308.  
  5309. [^->]        (Ctrl-Right  Arrow or  ^F) Moves to the  next word in
  5310.              text fields.
  5311.  
  5312. [^<-]        (Ctrl-Left  Arrow or  ^A) Moves to  the previous word
  5313.              in text fields.
  5314.  
  5315. [^Home]      Deletes  all  the  characters to  the  right  of  the
  5316.              cursor.
  5317.  
  5318. [Home]       Moves  to the beginning  of a line or  the top of the
  5319.              label.
  5320.  
  5321. [End]        Moves to the end of a line.
  5322.  
  5323.  
  5324.  
  5325.  
  5326.  
  5327.  
  5328.  
  5329.  
  5330.  
  5331.  
  5332.  
  5333.  
  5334.  
  5335.  
  5336.  
  5337.  
  5338.  
  5339.  
  5340.  
  5341.  
  5342.  
  5343. ProFile                                               Labels   83
  5344.  
  5345.  
  5346. Inserting and Deleting Lines
  5347.  
  5348. You may  insert or delete lines  in the label with  the following
  5349. function keys:
  5350.  
  5351. Function
  5352. Key            Action
  5353. --------       ------
  5354. F3             Move the cursor to the position where the new line
  5355.                should be  inserted and  press F3.   A blank  line
  5356.                will be inserted and all other lines will be moved
  5357.                down one.   Caution-  The  last line in  the label
  5358.                will be erased.
  5359.  
  5360. F5             Move the cursor to the line you wish to delete and
  5361.                then press F5.  Answer Yes if you wish the line to
  5362.                be deleted.
  5363.  
  5364.  
  5365. Viewing the Form
  5366.  
  5367. You may see  your form at any  time by pressing function  key F9.
  5368. Your form  will be displayed  and can be  moved using the  up and
  5369. down arrow  keys.  This  is helpful  if you  can't remember  your
  5370. field names.  Remember,  enter the field  name (or field  number)
  5371. exactly as it  appears in your form followed by either a ":" or a
  5372. ">".
  5373.  
  5374. When viewing the  form, pressing any key  will return you  to the
  5375. Label Layout screen.
  5376.  
  5377.  
  5378. Free-Form Labels
  5379.  
  5380. Free-form labels are  special labels.   Essentially, you'd use  a
  5381. free-form label if the label you  want isn't listed or you'd like
  5382. to create a free-form report.  A  free-form label uses a template
  5383. that is 66 lines long by  80 characters wide.  You may enter  any
  5384. field  name or  text in  the template.   For more  information on
  5385. formatting free-form  labels, see  the section titled  Formatting
  5386. Free-Form Labels.
  5387.  
  5388.  
  5389. Checking the Field Names
  5390.  
  5391. When  all  field names  and text  have  been entered,  press F10.
  5392. ProFile  then checks  the template  and highlights all  the field
  5393. names or numbers it finds.  Review the highlighted fields to make
  5394. certain that all  are correct.   This is handy  way to check  for
  5395. misspellings, missed colons, etc.
  5396.  
  5397.  
  5398.  
  5399.  
  5400.  
  5401. Labels   84                                               ProFile
  5402.  
  5403.  
  5404. If  everything is  in order answer  Yes to continue  to the Label
  5405. Menu.  No will return you to the Label Layout screen.
  5406.  
  5407.  
  5408. Label Menu
  5409.  
  5410. The Label  Menu options  listed below  control how  the label  is
  5411. printed.
  5412.  
  5413. Format-      This  option allows you  to change the label margins,
  5414.              insert  printer  control codes  and choose  the print
  5415.              destination.
  5416.  
  5417. Layout-      Use this choice  to return to the Label Layout screen
  5418.              to make additional changes to an existing label.
  5419.  
  5420. Select-      Create or change the Selection Spec.
  5421.  
  5422. Sort-        Create or change the Sort Spec.
  5423.  
  5424. Save-        Choose the Save option to store the label design  and
  5425.              any changes you may have made permanently on disk.
  5426.  
  5427. New-         Selecting  New from the  Label Menu lets you retrieve
  5428.              a  new label  design.   Before exiting,  you  will be
  5429.              asked  if  you'd  like to  save  your  current  label
  5430.              design.
  5431.  
  5432. Print-       Prints the labels.
  5433.  
  5434. Done-        Once  you have finished printing labels, press F10 or
  5435.              select Done to  return to the Main Menu.  If you have
  5436.              made changes to  a label  design and  have not  saved
  5437.              it, you will be given a chance to do so.
  5438.  
  5439.  
  5440. Label Format
  5441.  
  5442. A  printed  label is  controlled by  the  settings in  the Format
  5443. option located on the Label Menu.  By adjusting margins and label
  5444. lengths, you may properly position your label when printing.  The
  5445. following provides a few guidelines to help in formatting labels.
  5446.  
  5447.  
  5448.  
  5449. Formatting Standard Labels
  5450.  
  5451. When you use  a standard  label, ProFile knows  what margins  and
  5452. label lengths to use when it is printed.  It knows how many lines
  5453. can  be printed  on the  label (the label  text length)  and sets
  5454.  
  5455.  
  5456.  
  5457.  
  5458.  
  5459. ProFile                                               Labels   85
  5460.  
  5461.  
  5462. these for you automatically.  Most of the time, the label length,
  5463. top margin, and bottom margin should not be changed.
  5464.  
  5465.  
  5466. Label Text Length
  5467.  
  5468. The number of lines that can be printed  on a label is called the
  5469. label text length.  On  a standard label this number  is pre-set.
  5470. On a free-form label, ProFile sets the label text length equal to
  5471. the last  non-blank line  in  the template.   For instance,  when
  5472. creating a  free-form label  (Label #16),  if you  used only  the
  5473. first 11 lines, ProFile would set the label text length to 11.
  5474.  
  5475. The  label  text  length  is  important  because it  is  used  to
  5476. correctly print the template  on a paper label.  The  formula for
  5477. printing  labels is  similar to the  one used  for a  report.  To
  5478. correctly  format a printed label, remember this formula: printed
  5479. data =  label length  - top margin  - bottom margin.   See figure
  5480. #24.
  5481.  
  5482. If "label length  - top margin -  bottom margin" is equal  to the
  5483. label text length, the template (printed data) will fit perfectly
  5484. on one label.   If it is larger or smaller you will get different
  5485. results.   Once again, the standard labels will all fit perfectly
  5486. on  their respective paper label.   No modifications of the label
  5487. length and top or bottom margins should be needed.
  5488.  
  5489.  
  5490. Formatting Free-Form Labels
  5491.  
  5492. If  you  are  using a  free-form  label,  consider the  following
  5493. example.  To print three labels on a standard 8.5" X 11.00" piece
  5494. of paper, you'd do the following:
  5495.  
  5496. 1.   Choose  the  free-form  label from  the  Label  Size screen.
  5497.      (ProFile ignores the pitch settings in free-form labels).
  5498.  
  5499. 2.   Enter your fields and  text on to the free-form  template on
  5500.      the Label Layout screen.  For this example, assume that your
  5501.      text and field  names take up 20 lines of the template.  The
  5502.      label text length would be 20 (lines).
  5503.  
  5504. 3.   Using the Format  option on  the Label Menu,  you would  set
  5505.      your label length to  66 (for a  standard page) and the  top
  5506.      and bottom margin to 3 each.  You can now print three labels
  5507.      per 8.5" X 11.00" page.  On the other hand, if your text and
  5508.      field names took only  15 lines using the above  settings, 4
  5509.      labels could fit on a standard page.
  5510.  
  5511.  
  5512.  
  5513.  
  5514.  
  5515.  
  5516.  
  5517. Labels   86                                               ProFile
  5518.  
  5519.  
  5520.  
  5521.  
  5522.  
  5523.  
  5524.  
  5525.  
  5526.  
  5527.  
  5528.  
  5529.  
  5530.  
  5531.  
  5532.  
  5533.  
  5534.  
  5535.  
  5536.  
  5537.  
  5538.  
  5539.  
  5540.  
  5541.  
  5542.  
  5543.                     Figure: Formatting labels
  5544.  
  5545.  
  5546.  
  5547. Label Format Function
  5548.  
  5549. The following describes  how to set up your labels  and what each
  5550. of the Format option's on the Label Menu control:
  5551.  
  5552. 1.   Select Format from the Label Menu.
  5553.  
  5554. 2.   Use the up and down  arrow keys to move to the item that you
  5555.      want to change.
  5556.  
  5557. 3.   Type in the new value for  the item.  Check the status  line
  5558.      below the format box to see what a special option means.
  5559.  
  5560. 4.   Repeat steps  1 and 2  for other  values that you'd  like to
  5561.      change.
  5562.  
  5563. 5.   Press F10 when done.
  5564.  
  5565. If you are using a standard label, it is not recommended that you
  5566. change the  page length or  top and  bottom margins.   These have
  5567. been pre-set and should work as they are.
  5568.  
  5569. Printer  Setup-   Use  printer setup  to send  special formatting
  5570. codes to printer  before the label  is printed.  Many dot  matrix
  5571.  
  5572.  
  5573.  
  5574.  
  5575. ProFile                                               Labels   87
  5576.  
  5577.  
  5578. printers have different font and pitch options that can be turned
  5579. on by sending the  appropriate codes to them.  The  codes usually
  5580. are  a  mix  of  control  characters  (characters  that  are  not
  5581. printable) and regular characters, i.e. A-Z  and 0-9.  To signify
  5582. a control  character, use a caret and  then the letter of control
  5583. code.
  5584.  
  5585. For instance, to send a Control  N to the printer (this turns  on
  5586. condensed mode in Epson printers), type a caret (^) and then "N",
  5587. giving you ^N.  To send a caret  to the printer, type in a  caret
  5588. and then a space (the space is ignored) i.e. ^ space=^.  See your
  5589. printer manual for information on specific control codes for your
  5590. printer.
  5591.  
  5592. Label  Length-    The overall  length  of  each  label, from  the
  5593. beginning of one to the beginning of the next.
  5594.  
  5595. Top Margin-   The number of blank lines  at the beginning of each
  5596. label.  This is usually set at 0.  If you would like a blank line
  5597. at the beginning of your label, leave line one empty in the label
  5598. template.
  5599.  
  5600. Bottom  Margin-   The number of  blank lines  at the end  of each
  5601. label.  For  most labels,  there is  one line  between labels  on
  5602. continuous form feed paper.
  5603.  
  5604. Print Margin-   The number of characters  the label is shifted to
  5605. the right.  Increase the print margin if the label prints too far
  5606. to the left on the actual label.
  5607.  
  5608. Label Width-   The width of  the label  in characters.  This  has
  5609. been pre-set for you.  You will probably have to change the label
  5610. width  if you are  using labels that  have more than  one across,
  5611. i.e. two-up, three-up, or four-up labels.   See Column Margin for
  5612. more information on setting label width for multiple labels.
  5613.  
  5614. Column Margin-  The  number of characters between two  columns of
  5615. labels.  This setting  only has  meaning if you  use labels  that
  5616. have more than one  across.  To correctly set up  multiple labels
  5617. (two-up,  three-up,  or four-up),  first,  using a  typing ruler,
  5618. measure the distance from the beginning  of the first paper label
  5619. to the beginning of  the next.  Then make certain that  the label
  5620. width plus  the column margin  is equal to this  distance.  If it
  5621. isn't, increase or decrease the column  margin and label width as
  5622. needed.
  5623.  
  5624. # of Columns-   The number of column labels that will be printed.
  5625. Set this  to 2  for two-up,  3 for  three-up, and  4 for  four-up
  5626. labels.  The maximum number of labels  that can be printed across
  5627. is four.
  5628.  
  5629.  
  5630.  
  5631.  
  5632.  
  5633. Labels   88                                               ProFile
  5634.  
  5635.  
  5636. Print to Printer, Screen, Disk-  Enter in "P","S", or "D".
  5637.  
  5638.    Printer-  Entering "P" prints the labels.
  5639.  
  5640.    Screen-   Printing to screen lets you preview the labels before
  5641.    printing a  hard copy of  them.  You  may pause at any  time by
  5642.    pressing  any  key.   Touch any  key  again,  except  [Esc], to
  5643.    resume displaying  the labels.   When the  printing is  paused,
  5644.    press [Esc] if you want to quit printing labels.
  5645.  
  5646.    Disk-   When labels are  printed to disk,  ProFile makes a copy
  5647.    of  the  labels in  a file.   (You  enter  the file  name after
  5648.    pressing  F10, which  signifies that you are  done.)   The copy
  5649.    may  be printed later by  a word processing program or included
  5650.    in a word processing document.
  5651.  
  5652. Stop at New Page-   Answer Yes to have ProFile  prompt you at the
  5653. end of  each page.   Answer No if  you are using  continuous form
  5654. labels or  printing to  disk.  Hint:   Set this  to Yes  to print
  5655. standard business envelopes one at a time.
  5656.  
  5657. Print Field Names-   Answer Yes to  have ProFile print the  field
  5658. names on  the labels or paper.   Normally, this option  is set to
  5659. No.  You would want field names printed if you've created an edit
  5660. list or special free-form report.
  5661.  
  5662.  
  5663. Selection Spec
  5664.  
  5665. To create a Selection Spec choose Select from the Label Menu.
  5666.  
  5667. You don't always want to print all the records  in your database.
  5668. To limit your  labels to specific  records in your database,  you
  5669. create a Selection  Spec.  The Selection  Spec used here is  just
  5670. like the one you may create  using the Select option in the  Edit
  5671. (records)  function and  in  Reports.  The  following information
  5672. gives a brief  overview of creating  a Selection Spec.  For  more
  5673. detailed information, see page #48 in the Edit section.
  5674.  
  5675.  
  5676. Using an Existing Selection Spec
  5677.  
  5678. If you are  printing a label  design that was previously  created
  5679. and the design included a Selection Spec, the Format screen above
  5680. the Label Menu will list the Selection Spec as being active.  The
  5681. Spec may be viewed by choosing Select from the Label Menu.
  5682.  
  5683.  
  5684.  
  5685.  
  5686.  
  5687.  
  5688.  
  5689.  
  5690.  
  5691. ProFile                                               Labels   89
  5692.  
  5693.  
  5694. Creating a Selection Spec
  5695.  
  5696. The  Selection Spec  lets  you control  the  information in  your
  5697. database.  ProFile uses menus to help you build a Selection Spec.
  5698.  
  5699. To create a Selection Spec:
  5700.  
  5701. 1.   Choose Select from the Label Menu.
  5702.  
  5703. 2.   Next, the Selection Spec Menu will be displayed.  Select New
  5704.      to create a new spec.
  5705.  
  5706. 3.   At the prompt, select the field to be compared.
  5707.  
  5708. 4.   Make a selection  from the Comparison menu i.e.  specify how
  5709.      the field should be compared.
  5710.  
  5711. 5.   Enter the information to which the field should be compared.
  5712.  
  5713. 6.   You may select  either the "AND" or "OR" option to add up to
  5714.      four additional selection tests.
  5715.  
  5716. Page #48 provides more information on creating a  Selection Spec.
  5717.  
  5718.  
  5719. If you make a mistake  entering the Selection Spec, press Esc  to
  5720. return to the previous step.
  5721.  
  5722.  
  5723. Sort Spec
  5724.  
  5725. The Sort Spec controls the order in which the labels are printed.
  5726. This spec  works  the same  as  the Sort  Spec  described in  the
  5727. Reports section.
  5728.  
  5729. The Sort Spec  screen looks just like your form,  except that the
  5730. field blanks allow only numbers to be entered.
  5731.  
  5732. To create a Sort Spec:
  5733.  
  5734. 1.   Select Sort form the Label Menu.
  5735.  
  5736. 2.   Next, the  Sort Menu is  displayed.  Select New  to create a
  5737.      new spec or Edit to change an existing spec.
  5738.  
  5739. 3.   When ProFile displays the  Sort Spec screen, use the  up and
  5740.      down arrow keys  to move to the field that you would like to
  5741.      be the primary sort and then enter the number "1" (for first
  5742.      field sorted).
  5743.  
  5744.  
  5745.  
  5746.  
  5747.  
  5748.  
  5749. Labels   90                                               ProFile
  5750.  
  5751.  
  5752. 4.   Each  sort field  may be sorted  in ascending  or descending
  5753.      order.  If the  field should be sorted in  descending order,
  5754.      enter a "D"  next to  the sort number,  otherwise the  field
  5755.      will be sorted in ascending order.
  5756.  
  5757. 5.   Move to the next field, if any, on which ProFile should sort
  5758.      and enter a "2".
  5759.  
  5760. 6.   Repeat the  above steps, using successively  higher numbers,
  5761.      to a maximum of 10, until all sort fields have been entered.
  5762.  
  5763. 7.   Press F10 to continue.
  5764.  
  5765. See page #74 in the Reports section for more detailed information
  5766. on creating a Sort Spec.
  5767.  
  5768.  
  5769. Bulk Mail Sort
  5770.  
  5771. The Bulk Mail Sort lets you take advantage of lower mailing rates
  5772. for first or third class mail.  If you mail only 1,000  pieces of
  5773. mail  a month third  class, the savings  can total over  $1,000 a
  5774. year.
  5775.  
  5776. ProFile makes it easy  to use the lower bulk mail  rates by doing
  5777. most of the work for you.   When you use bulk mail, ProFile  puts
  5778. the labels  in the right order.  State  by state, it arranges the
  5779. labels first  by a five  digit count, then  a three digit  count,
  5780. then mixed state.  After  all states have been processed  ProFile
  5781. arranges the remaining labels (mixed states).
  5782.  
  5783. When  the  labels  are  printed,  ProFile  automatically  inserts
  5784. dividers  to mark the  end of each  group of labels.   This makes
  5785. bundling a snap.  Finally, ProFile creates a text file that holds
  5786. all the bulk  mailing statistics.   Print this file  and use  the
  5787. information to create bag  labels and provide a summary  sheet to
  5788. the Post Office.  ProFile does all of this for you.
  5789.  
  5790. To use the Bulk Mail Sort:
  5791.  
  5792. 1.   Select Sort from the Label Menu.
  5793.  
  5794. 2.   Next, the  Sort Menu appears.   Select Bulk Mail  to sort in
  5795.      bulk mail order.
  5796.  
  5797. 3.   At  the prompt  Select Zip Code  Field: select the  zip code
  5798.      field from the list and press [ENTER].
  5799.  
  5800. That's all there  is to it.  ProFile  will now sort your  data in
  5801. bulk mail  order.   As  it does,  you  will be  informed  of  its
  5802.  
  5803.  
  5804.  
  5805.  
  5806.  
  5807. ProFile                                               Labels   91
  5808.  
  5809.  
  5810. progress.  When it  is finished, ProFile  will be ready to  print
  5811. your database in bulk mail order.
  5812.  
  5813. When you print labels that  have been sorted in bulk mail  order,
  5814. ProFile creates a text  file on the database disk  (or directory)
  5815. called BULKMAIL.TXT.  This file contains  a summary of the counts
  5816. for each five  digit, three digit, state, and mixed-state bundle.
  5817. It also  includes a count  of the total  number of pieces  in the
  5818. mailing.  To view the  file, use a word processor or the DOS type
  5819. command i.e. at the DOS prompt enter
  5820. TYPE BULKMAIL.TXT and press [ENTER].
  5821.  
  5822.  
  5823. Printing the Labels
  5824.  
  5825. To print the labels select Print from the Label Menu.
  5826.  
  5827. Depending  on your selection  at the Print  to [P,S,D]? prompt on
  5828. the Label Format  screen, ProFile will  print the labels on  your
  5829. printer, display them on  the screen, or create a disk  file that
  5830. contains the labels.
  5831.  
  5832.  
  5833. Testing your Label Alignment
  5834.  
  5835. Before your  labels are  printed (printer  option only),  ProFile
  5836. will prompt you with  Test Label Alignment?.  This allows  you to
  5837. align the label  correctly on the  printer.  Answer Yes to  print
  5838. out one (row of) label(s).  If the alignment is not correct, move
  5839. the label in the printer and then repeat the above procedure.
  5840.  
  5841. If you can't  get the labels to  print properly, you may  have to
  5842. return to the Label  Menu.  To do  so, press [Esc] at  the prompt
  5843. and  then  answer  Yes to  Exit-  Are  you  Sure?.  ProFile  then
  5844. displays  Completed.  Press any key.  Press  any key to return to
  5845. the Labels Menu.  Make any changes  as needed to either the label
  5846. format or layout.
  5847.  
  5848. When  the label alignment is correct, answer No at the Test Label
  5849. Alignment prompt.  ProFile will start printing your database from
  5850. the  top,  reprinting  any labels  printed  during  the alignment
  5851. process.
  5852.  
  5853.  
  5854. Stopping the Print
  5855.  
  5856. With any  of the above  options, you may  stop the labels  at any
  5857. time by pressing any key.  ProFile will continue printing as soon
  5858. as you press  any other key,  except [Esc].  Pressing [Esc]  will
  5859. allow you to exit to the Label Menu and cancel printing.
  5860.  
  5861.  
  5862.  
  5863.  
  5864.  
  5865. Labels   92                                               ProFile
  5866.  
  5867.  
  5868. After  the labels  have  been  printed,  ProFile will  display  a
  5869. message that the printing  has been completed.  Pressing any  key
  5870. at this point will return you to the Label Menu.
  5871.  
  5872.  
  5873. Redesigning an Existing Label
  5874.  
  5875. To redesign  an existing  label, simply  edit the  original label
  5876. design.  Follow these steps:
  5877.  
  5878. 1.   After choosing Label from the Print  Menu, enter in the file
  5879.      name you'd like to edit.
  5880.  
  5881. 2.   At the Label Menu,  select Layout to edit the  label layout.
  5882.      When done press F10 to return to the Label Menu.
  5883.  
  5884. 3.   As needed, select Format to change any of margin settings.
  5885.  
  5886. 4.   If needed, enter in a Selection Spec or Sort Spec.
  5887.  
  5888. 5.   To make any changes permanent, save the label design.
  5889.  
  5890. 6.   Print the labels to screen, disk or printer.
  5891.  
  5892. See Designing a  Label on page #83 for more  information on label
  5893. layouts.
  5894.  
  5895.  
  5896.  
  5897. Printing an Existing Label Design
  5898.  
  5899. Just like  Reports, you  may have  an unlimited  number of  label
  5900. designs.  You can print any label format that you have previously
  5901. designed and saved.
  5902.  
  5903. To print an existing label design,  after choosing Label from the
  5904. Print Menu, enter in the file name you'd  like to print.  ProFile
  5905. displays the label  on the screen and  asks if it is  the correct
  5906. label.  Answer  Yes to continue to the Label  Menu or No to enter
  5907. another label design name.
  5908.  
  5909. From  the  Label Menu,  select  Print.   The labels  will  now be
  5910. printed.
  5911.  
  5912.  
  5913.  
  5914.  
  5915.  
  5916.  
  5917.  
  5918.  
  5919.  
  5920.  
  5921.  
  5922.  
  5923. ProFile                                            MailMerge   93
  5924.  
  5925.  
  5926. Word Processing MailMerge
  5927.  
  5928. Choose this option from the Print Menu to create a mailmerge file
  5929. for a word  processing program.  The  word processor can  combine
  5930. the mailmerge file with a boilerplate form to create personalized
  5931. letters that may be sent to people in your ProFile database.  The
  5932. file can contain  everyone in your database or just a select few.
  5933. It may be sorted any way  you choose, including bulk mail order.
  5934.  
  5935.  
  5936. ProFile supports a  number of  popular word processing  programs.
  5937. Often, different word  processors use the same  merge format.  If
  5938. your word processor is  not listed, check its  format description
  5939. to see if  one of the listed  programs uses the same  format.  If
  5940. not, try using one of the formats in the Export option.  See page
  5941. #107 for more details on Export.
  5942.  
  5943. The following is an overview of creating a mailmerge file:
  5944.  
  5945. 1.   Choose MailMerge from the Print Menu.
  5946.  
  5947. 2.   Enter  the  appropriate  MailMerge  format, specify  whether
  5948.      you'll be using  Selection or  Sort Specs and  enter in  the
  5949.      name for the MailMerge file.  Press F10 to continue.
  5950.  
  5951. 3.   If you've elected to use a Sort and/or Selection Spec, enter
  5952.      them when prompted.
  5953.  
  5954. That is all  there is to creating  a MailMerge file.   It's fast,
  5955. easy, and  a great  way to  efficiently create  large numbers  of
  5956. personalized form letters.
  5957.  
  5958.  
  5959. MailMerge Options
  5960.  
  5961. After choosing the MailMerge option on  the Print Menu, the first
  5962. screen will be labeled Create MailMerge File.  At this screen you
  5963. will  enter the  MailMerge  format and  MailMerge  file name  and
  5964. indicate if you're  using a Selection  or Sort Spec.  See  figure
  5965. #25.
  5966.  
  5967.  
  5968.  
  5969. MailMerge Format
  5970.  
  5971. At the MailMerge Format prompt, enter in the number of the format
  5972. you wish to  use.  Currently, five formats  are supported.  Check
  5973. the file PF-READ.ME on your DOCUMENTATION DISK to  see if any new
  5974. formats have been added.
  5975.  
  5976.  
  5977.  
  5978.  
  5979.  
  5980.  
  5981. MailMerge   94                                            ProFile
  5982.  
  5983.  
  5984. Remember that many word processors use  the same format.  If your
  5985. format is not listed, check your  word processor's manual for the
  5986. correct format and then review the following discussion.
  5987.  
  5988.  
  5989.  
  5990.  
  5991.  
  5992.  
  5993.  
  5994.  
  5995.  
  5996.  
  5997.  
  5998.  
  5999.  
  6000.  
  6001.  
  6002.  
  6003.  
  6004.  
  6005.  
  6006.                Figure 25: Mailmerge Options screen
  6007.  
  6008.  
  6009.  
  6010.  
  6011.  
  6012.  
  6013. ProFile creates the  MailMerge file  and you must  use your  word
  6014. processor to make  the boilerplate  form letter.  Typically,  the
  6015. form letter  will contain special  codes that  control the  merge
  6016. process.   See your word processor manual for more information on
  6017. this.
  6018.  
  6019. Each MailMerge  format  is reviewed  in  detail below.   For  the
  6020. examples, assume that  the database  has only five  fields: Name,
  6021. Address, City, State and Zip.
  6022.  
  6023. WordStar-  The  Wordstar  format  is  very  similar  to  a  Comma
  6024. Delimited  format.  Each  field  is enclosed  in quotes  and then
  6025. separated by commas.  A new line is  started for each new record.
  6026. Many word processors will use this format.
  6027.  
  6028. Example:
  6029.  
  6030. "Sam Smith","432 Uptime Court","Columbia","CA"
  6031. "Bob Jones, Jr.","1234 Anywhere Street","Boston","MA"
  6032. "Larry Ritestuff","6655 Rocket Way","San Jose","CA"
  6033.  
  6034.  
  6035.  
  6036.  
  6037.  
  6038.  
  6039. ProFile                                            MailMerge   95
  6040.  
  6041.  
  6042. WordPerfect-   This format is unique to  WordPerfect.  Each field
  6043. is followed  by a  ^R (control-R  is called  the Merge Return  by
  6044. WordPerfect) and a carriage return (hard return that starts a new
  6045. line).  An empty field would appear as an empty line.  The end of
  6046. each record is  marked with a  ^E (control-E is called  the Merge
  6047. End) and a carriage return.
  6048.  
  6049. ProFile  will  create what  WordPerfect  calls a  Secondary File.
  6050. Before merging, you must use the "Text In" feature of WordPerfect
  6051. to  convert  the  MailMerge  file  that  ProFile  creates  into a
  6052. WordPerfect document.
  6053.  
  6054. Example:
  6055.  
  6056. Sam Smith^R
  6057. 432 Uptime Court^R
  6058. Columbia^R
  6059. CA^R
  6060. 44444^R
  6061. ^E
  6062.  
  6063.  
  6064. DEC  WPS-     This  formats   the  file   in  Digital   Equipment
  6065. Corporation's WPS  list  processing  format.   Each  field  name,
  6066. enclosed in brackets "<  >", is followed by the  information from
  6067. that field.  The end of a record is  signified by double brackets
  6068. "<<>>".
  6069.  
  6070. Example:
  6071.  
  6072. <NAME>Sam Smith
  6073. <STREET>432 Uptime Court
  6074. <CITY>Columbia
  6075. <STATE>CA
  6076. <ZIP>44444
  6077. <<>>
  6078.  
  6079.  
  6080. MultiMate-   MultiMate uses a  the Comma Delimited  format.  Each
  6081. field is enclosed in  quotes and then separated by  commas.  Each
  6082. record starts on  a new line.  Many word processors  can use this
  6083. format.
  6084.  
  6085. Example:
  6086.  
  6087. "Sam Smith","432 Uptime Court","Columbia","CA","44444"
  6088. "Bob Jones, Jr.","1234 Any Way","Boston","MA","00212"
  6089. "Larry Ritestuff","65 Rok Way","San Jose","CA","43234"
  6090.  
  6091.  
  6092.  
  6093.  
  6094.  
  6095.  
  6096.  
  6097. MailMerge   96                                            ProFile
  6098.  
  6099.  
  6100. PC-Write-   PC-Write uses  the  same format  as MultiMate,  Comma
  6101. Delimited.  See above for more information.
  6102.  
  6103.  
  6104. Sort and Selection Specs
  6105.  
  6106. ProFile uses the  same procedures, the  same way, throughout  the
  6107. program.  This makes ProFile easier  to use.  Most functions have
  6108. optional  Sort  and  Selection  Specs.   See  page #74  for  more
  6109. detailed  information on  Sort Specs and  page #48  for Selection
  6110. Specs.
  6111.  
  6112.  
  6113. Use Selection Spec-  Answer Yes  to define a Selection Spec.  The
  6114. Selection  Spec  controls  which  records  in your  database  are
  6115. included in the MailMerge file.  Answer No to use all  records in
  6116. your database.
  6117.  
  6118.  
  6119. Use Sort  Spec-  Answer Yes to  create a Sort Spec, or  No to use
  6120. the information in your database in  whatever order it happens to
  6121. be in when the  MailMerge file is  created, i.e in record  number
  6122. order.
  6123.  
  6124.  
  6125. MailMerge File Name
  6126.  
  6127. MailMerge File Name-   Enter  the name  of the file  you wish  to
  6128. create.  If you enter in a file that already exists, ProFile will
  6129. first ask  if it can  overwrite the  current file.  Answer  No to
  6130. enter in a new name.
  6131.  
  6132. ProFile uses  the File  Manager whenever  it prompts  for a  file
  6133. name.  To access the  File Manager, make certain that  the prompt
  6134. line is  blank and  then press  [ENTER].  Alternately,  enter any
  6135. wild  card  designator in  the file  name  prompt and  then press
  6136. [ENTER].   See page #8  for more  details on  the using  the File
  6137. Manager.
  6138.  
  6139.  
  6140. During MailMerge File Creation
  6141.  
  6142. ProFile  displays  the number  of  records it  has  processed and
  6143. selected.  You may  stop the file  creation by pressing any  key.
  6144. Touch any key, except [Esc], to restart the process.
  6145.  
  6146. Pressing  [Esc]  twice,  during  file   creation,  will  let  you
  6147. permanently  stop  the  file creation  process.   Your  file will
  6148. contain  all  of the  records  that were  processed  and selected
  6149. before interruption.
  6150.  
  6151.  
  6152.  
  6153.  
  6154.  
  6155.  ProFile                                         Import Data   97
  6156.  
  6157.  
  6158. Import
  6159.  
  6160. Import lets you  pull data  created by other  programs into  your
  6161. ProFile database.  This  means you can  take advantage of all  of
  6162. the powerful  features of  ProFile and  not have  to re-key  your
  6163. existing databases.
  6164.  
  6165. Import is very particular, so care must be taken that:
  6166.  
  6167. o  The import  file  must  be an  ASCII file.   It  may be  either
  6168.    Standard   Data    Format    (SDF),    Comma   Delimited,    or
  6169.    One-Field-Per-Line formatted.
  6170.  
  6171. o  You  must have already created a ProFile database that is ready
  6172.    to  accept the imported  information.  The database may contain
  6173.    information or be one especially created for this purpose.
  6174.  
  6175.  
  6176. Floppy Disk Systems
  6177.  
  6178. You  may import data from a  file on separate disk.  Follow these
  6179. rules:
  6180.  
  6181. o  The Form  Definition, Data, and Index files must all  be on the
  6182.    same disk.
  6183.  
  6184. o  Never remove the disk that contains the ProFile database.
  6185.  
  6186. o  ProFile will prompt you to swap the PROGRAM  DISK with the data
  6187.    disk and vice versa.  ONLY EXCHANGE DISKS WHEN PROMPTED.
  6188.  
  6189.  
  6190. ASCII File Types
  6191.  
  6192. The three types of formats of  ASCII files supported are Standard
  6193. Data Format, Comma Delimited and One-Field-Per-Line.
  6194.  
  6195.  
  6196. Standard Data Format
  6197.  
  6198. This type of  file is typically a  print file that a  program has
  6199. created.  Each  line in  the file  represents a  record and  each
  6200. field always has the same length within the line.   The result is
  6201. that each field always starts at  the same column.  For instance,
  6202. a file  that had a Name, Street, City,  and State might have Name
  6203. start  at position 1, Street start at  position 19, City start at
  6204. position 41, etc.   When importing  this type of  file you  won't
  6205. need to know what position each field starts in but you will need
  6206. to know the length of each field in the ASCII file.
  6207.  
  6208.  
  6209.  
  6210.  
  6211.  
  6212.  
  6213. Edit Data   98                                            ProFile
  6214.  
  6215.  
  6216. Example:
  6217.  
  6218. Sam Smith           432 Uptime Court       Columbia    CA
  6219. Bob Jones, Jr.      1234 Anywhere Street   Boston      MA
  6220. Larry Ritestuff     6655 Rocket Way        San Jose    CA
  6221. |<-19 Characters->  |<-           23    ->|<-  12  ->  |
  6222.  
  6223.  
  6224. Comma Delimited
  6225.  
  6226. This is a standard  file type that  many programs written in  the
  6227. Basic programming  language use.   Other programs like  Wordstar,
  6228. Datastar and dBase II/III+ can all  create or use Comma Delimited
  6229. files.
  6230.  
  6231. A Comma  Delimited file has one record  per line, with each field
  6232. separated by a  comma and enclosed in  quotes if the field  has a
  6233. comma  in it.   In example  1, only  those fields that  contain a
  6234. comma  are  enclosed  in  quotes.   Example  2  shows  all fields
  6235. enclosed in quotes.  Either one is correct and will work.
  6236.  
  6237.  
  6238. Example 1:
  6239.  
  6240. Sam Smith,432 Uptime Court,Columbia,CA,44444
  6241. "Bob Jones, Jr.",1234 Anywhere Street,Boston,MA,00212
  6242. Larry Ritestuff,6655 Rocket Way,San Jose,CA,43234
  6243.  
  6244. Example 2:
  6245.  
  6246. "Sam Smith","432 Uptime Court","Columbia","CA"
  6247. "Bob Jones, Jr.","1234 Anywhere Street","Boston","MA"
  6248. "Larry Ritestuff","6655 Rocket Way","San Jose","CA"
  6249.  
  6250.  
  6251. One-Field-Per-Line
  6252.  
  6253. One-Field-Per-Line is supported by a number of other database and
  6254. word processing programs.  Essentially, each  field is written on
  6255. a separate line.  Empty  fields appear as blank lines,  but there
  6256. are no blank lines separating records.
  6257.  
  6258.  
  6259.  
  6260.  
  6261.  
  6262.  
  6263.  
  6264.  
  6265.  
  6266.  
  6267.  
  6268.  
  6269.  
  6270.  
  6271.  ProFile                                         Import Data   99
  6272.  
  6273.  
  6274. Example:
  6275.  
  6276. Sam Smith
  6277. 432 Uptime Court
  6278. Columbia
  6279. CA
  6280. 44444
  6281. Bob Jones, Jr.
  6282. 1234 Anywhere Street
  6283. Boston
  6284. MA
  6285. 00212
  6286. Larry Ritestuff
  6287. 6655 Rocket Way
  6288. San Jose
  6289. CA
  6290. 43234
  6291.  
  6292.  
  6293. Importing Data
  6294.  
  6295. To import ASCII data:
  6296.  
  6297. 1.   Select Import on the Exchange Menu.
  6298.  
  6299. 2.   Select the ASCII file type, designate the use of a Selection
  6300.      Spec if you  like, and then  enter in the  ASCII file  Name.
  6301.      (If  you  choose One-Field-Per-Line  you  will also  need to
  6302.      enter in the numbers of lines per record in the ASCII file.)
  6303.      Press F10 to  continue.
  6304.  
  6305. 3.   If you selected Standard Data Format,  you must now enter in
  6306.      the field lengths for each field in the ASCII file.
  6307.  
  6308. 4.   Enter in  the field  numbers from  the ASCII  file into  the
  6309.      Merge Spec.
  6310.  
  6311. 5.   If you elected  to use a  Selection Spec, you must  enter it
  6312.      now.
  6313.  
  6314. 6.   ProFile  merges the data into your  current database in use.
  6315.      When  the data  is merged,  ProFile  will update  any lookup
  6316.      fields and perform any calculations in the form.
  6317.  
  6318. You should  always make a backup  of a database  before using the
  6319. Import function.  This way, if an alignment problem develops, you
  6320. have a "clean" database from which to start again.  See page #115
  6321. on using the Backup command.
  6322.  
  6323. The  first  step  to import  data  is  to  provide the  following
  6324. information:
  6325.  
  6326.  
  6327.  
  6328.  
  6329. Edit Data   100                                           ProFile
  6330.  
  6331.  
  6332.  
  6333.  
  6334. ASCII File  Format-   Enter in  the appropriate  format.  If  you
  6335. selected  One-Field-Per-Line, you  will need to enter  the number
  6336. of lines per record in the ASCII file.  For instance, if you have
  6337. five fields per record  in the ASCII file, each  one would appear
  6338. on a line by itself.  In this case, you'd enter a 5 at the Number
  6339. of Lines per Record prompt.
  6340.  
  6341.  
  6342. Use Selection Spec-  Answer Yes to define a Selection Spec.   The
  6343. Selection  Spec controls  which  records in  the  ASCII file  are
  6344. merged into your ProFile database.  Answer  No to use all records
  6345. in the ASCII file.
  6346.  
  6347.  
  6348. ASCII File Name-  Enter the name  of the ASCII file you'd like to
  6349. import.  If  ProFile can't  find it,  you will  be warned.   Make
  6350. certain that  you include  any  file extensions  that might  have
  6351. automatically been  added by the  program that created  the ASCII
  6352. file.  For  example, dBase tags  on a .TXT  and Lotus  1-2-3 adds
  6353. .PRN to each of their respective files.
  6354.  
  6355. ProFile uses  the File  Manager whenever  it prompts  for a  file
  6356. name.  To access the  File Manager, make certain that  the prompt
  6357. line  is blank and  then press [ENTER].  Or,  enter any wild card
  6358. designator at the file  name prompt and then press  [ENTER].  See
  6359. page #8 for more details on the using this option.
  6360.  
  6361.  
  6362. Standard Data Format Field Lengths
  6363.  
  6364. If you selected Standard Data Format (SDF) as the ASCII file type
  6365. you must enter the field lengths from the file.  You may enter up
  6366. to  36 field  lengths in the  form.  Use  the arrow keys  to move
  6367. around the form.
  6368.  
  6369. Consider the  following example: the  line below  shows that  the
  6370. first field  in the sample  SDF file is  19 characters long,  the
  6371. next is 23, etc.
  6372.  
  6373.  
  6374.  
  6375. Example:
  6376.  
  6377. Sam Smith           432 Uptime Court       Columbia    CA
  6378. Larry Ritestuff     6655 Rocket Way        San Jose    CA
  6379. |<-19 Characters->  |<-           23    -> |<-  12  -> |
  6380.  
  6381.  
  6382.  
  6383.  
  6384.  
  6385.  
  6386.  
  6387.  ProFile                                        Import Data   101
  6388.  
  6389.  
  6390. You would enter 19  at the Field #1 Length prompt, 23 at Field #2
  6391. Length, 12 at Field #3 Length and so on until you had entered all
  6392. of the field lengths.
  6393.  
  6394. Press F10 when you are finished.
  6395.  
  6396.  
  6397. Merge Spec
  6398.  
  6399. The Merge  Spec tells  ProFile which  field from  the ASCII  file
  6400. corresponds with  a particular  field in  your ProFile  database.
  6401. This gives  you a tremendous  amount of flexibility  in importing
  6402. data.
  6403.  
  6404. To enter a Merge Spec, move the cursor to a field in your ProFile
  6405. database and  enter in  the corresponding  field number from  the
  6406. ASCII file.  (If you leave a field
  6407.  
  6408.  
  6409.  
  6410.  
  6411.  
  6412.  
  6413.  
  6414.  
  6415.  
  6416.  
  6417.  
  6418.  
  6419.  
  6420.  
  6421.  
  6422.  
  6423.  
  6424.  
  6425.  
  6426.                    Figure 26: Merge Spec screen
  6427.  
  6428.  
  6429.  
  6430.  
  6431.  
  6432.  
  6433.  
  6434. blank, i.e. no number entered,  no data will be merged  into that
  6435. field.)   For  example,  if you  have  an  ASCII  file where  the
  6436. physical position of  NAME is field number 2, you  would move the
  6437. cursor to  the Name field in the ProFile  database and enter in a
  6438. 2.  You are saying "take the second field from ASCII file and put
  6439. it in this field" (which might be the first field of your ProFile
  6440. database).  When you are done, press F10.
  6441.  
  6442.  
  6443.  
  6444.  
  6445. Edit Data   102                                           ProFile
  6446.  
  6447.  
  6448.  
  6449.  
  6450. Using a Selection Spec
  6451.  
  6452. If  you have  opted to use  a Selection  Spec, you will  enter it
  6453. after the  Merge Spec.   The  Selection Spec  will control  which
  6454. records from your ASCII file are  merged into the current ProFile
  6455. database.
  6456.  
  6457. Refer to  page #48  for  more information  on creating  Selection
  6458. Specs.
  6459.  
  6460.  
  6461. During the Import
  6462.  
  6463. As data is  imported ProFile will  display the number of  records
  6464. from the ASCII  file processed  and selected.  You  may stop  the
  6465. merge at  any time by pressing any key.   Pressing [Esc] when the
  6466. import is paused will allow you to exit.
  6467.  
  6468.  
  6469.  
  6470.  
  6471.  
  6472.  
  6473.  
  6474.  
  6475.  
  6476.  
  6477.  
  6478.  
  6479.  
  6480.  
  6481.  
  6482.  
  6483.  
  6484.  
  6485.  
  6486.  
  6487.  
  6488.  
  6489.  
  6490.  
  6491.  
  6492.  
  6493.  
  6494.  
  6495.  
  6496.  
  6497.  
  6498.  
  6499.  
  6500.  
  6501.  
  6502.  
  6503. ProFile                                         Export Data   103
  6504.  
  6505.  
  6506. Export
  6507.  
  6508. Export lets you share information from your ProFile database with
  6509. other programs.  The  data may  be formatted  in either  Standard
  6510. Data Format (SDF), Comma  Delimited, or One-Field-Per-Line  style
  6511. and inserted into an ASCII file.
  6512.  
  6513. You may export all or some of the records in your database.  Each
  6514. field will be  exported in the order  in which it appears  in the
  6515. form.
  6516.  
  6517. It is very simple  to transfer information to another  program on
  6518. your computer.  Here's how:
  6519.  
  6520. 1.   Select the Export option on the Exchange Menu.
  6521.  
  6522. 2.   Choose the  ASCII format,  elect to  use a  Selection and/or
  6523.      Sort Spec, and then enter the  file name for the ASCII  file
  6524.      you will be creating.  Press F10 to continue.
  6525.  
  6526. 3.   Enter any optional Sort or Selection Specs.
  6527.  
  6528. 4.   Your ASCII file will now be created.
  6529.  
  6530. The following details these steps.
  6531.  
  6532.  
  6533. Exporting Data
  6534.  
  6535.  
  6536. ASCII File Format-   Enter  in the appropriate  format.  See  the
  6537. discussion  on ASCII  file  formats in  the Import  section, page
  6538. #104.
  6539.  
  6540.  
  6541. Use Selection Spec-  The Selection Spec controls which records in
  6542. your database  are included  in the  ASCII file.   Answer Yes  to
  6543. define  a  Selection Spec,  or  No to  use  all  records in  your
  6544. database.
  6545.  
  6546.  
  6547. Use  Sort  Spec-    The  Sort  Spec controls  the  order  of  the
  6548. information in your ASCII file.  Answer Yes to enter a Sort Spec,
  6549. or No to  use the information in your  database in whatever order
  6550. it happens  to be in when the MailMerge  file is created, i.e. in
  6551. record number order.
  6552.  
  6553.  
  6554. ASCII File Name-  Enter the name of the file  you wish to create.
  6555. If a file  is entered that already exists, ProFile will ask if it
  6556.  
  6557.  
  6558.  
  6559.  
  6560.  
  6561. Export Data   104                                         ProFile
  6562.  
  6563.  
  6564. can overwrite  the current  file.  Answer  No to enter  in a  new
  6565. name.
  6566.  
  6567. You may use the File Manager whenever ProFile  prompts for a file
  6568. name.  To access the  File Manager, make certain that  the prompt
  6569. line is  blank and  then press [ENTER].   Alternately, enter  any
  6570. wild  card  designator in  the file  name  prompt and  then press
  6571. [ENTER].  See page #8 for more details on using this option.
  6572.  
  6573.  
  6574. About Sort and Selection Specs
  6575.  
  6576. The Sort Spec controls the order in which the data appears in the
  6577. ASCII  file.   The  Selection  Spec  controls which  records  are
  6578. included in the file.  If you elected to use a Selection  or Sort
  6579. Spec, you will  be prompted  to enter them  now.  Otherwise,  the
  6580. export process is ready to begin.  See page #74 for more detailed
  6581. information on the Sort Spec and page #48 for Selection Specs.
  6582.  
  6583.  
  6584. Floppy Disk Systems
  6585.  
  6586. You may  copy data to  a file on  a separate disk.   Follow these
  6587. rules:
  6588.  
  6589. o  The Form  Definition, Data, and Index  files must all be on the
  6590.    same disk.
  6591.  
  6592. o  Never remove the disk that contains the ProFile database.
  6593.  
  6594. o  ProFile  will prompt you to swap the PROGRAM DISK with the data
  6595.    disk and vice versa.  EXCHANGE DISKS ONLY WHEN PROMPTED.
  6596.  
  6597. Note-     ProFile only checks to see if the file name exists when
  6598.           you enter it.   If the  file name exists  on the  newly
  6599.           inserted disk, ProFile will automatically overwrite it.
  6600.  
  6601.  
  6602. During the Export
  6603.  
  6604. ProFile  keeps you  informed  of its  progress by  displaying the
  6605. number of records processed and selected.
  6606.  
  6607. You may pause by pressing any key once.  Pressing any key  except
  6608. [Esc]  will restart the  Export function.   Pressing  [Esc] twice
  6609. when Export is paused  will return you to the Exchange  Menu.  If
  6610. you  cancel  the  Export function,  only  the  records  that were
  6611. processed and selected will be included in the ASCII file.
  6612.  
  6613.  
  6614.  
  6615.  
  6616.  
  6617.  
  6618.  
  6619. ProFile                                           Copy Data   105
  6620.  
  6621.  
  6622. Copy Data
  6623.  
  6624. With Copy you may merge information from another ProFile database
  6625. into the one  in use.  Both databases  do not have to  be exactly
  6626. alike.  If they are different, only  those fields that are common
  6627. to both will be copied.
  6628.  
  6629. Care  must be  taken  when copying  data  from another  database.
  6630. Always have a backup to your database  before using the Copy Data
  6631. function.
  6632.  
  6633.  
  6634. Floppy Disk Systems
  6635.  
  6636. You  may copy data  from a ProFile  database on  a separate disk.
  6637. Follow these rules:
  6638.  
  6639. o  The Form  Definition,  Data, and  Index files  of the  database
  6640.    from which you are copying must all be on the same disk.
  6641.  
  6642. o  Never remove the disk that contains the ProFile database.
  6643.  
  6644. o  ProFile  will  prompt you  to swap  the PROGRAM  DISK with  the
  6645.    database  disk  and  vice  versa.   EXCHANGE  DISKS  ONLY  WHEN
  6646.    PROMPTED.
  6647.  
  6648.  
  6649. Copying Data
  6650.  
  6651. To copy data:
  6652.  
  6653. 1.   Select the Copy option on the Exchange Menu.
  6654.  
  6655. 2.   Enter in  the name of the database from which you would like
  6656.      to copy data.
  6657.  
  6658. 3.   If needed, enter in a Selection Spec.
  6659.  
  6660. Here are the details:
  6661.  
  6662.  
  6663. Copy From [Form  Name]-  At this  prompt, you will need  to enter
  6664. the form from  which you would like  to copy.  If you  don't know
  6665. the file name you may press [ENTER] at the empty line to call the
  6666. File Manager.
  6667.  
  6668. The  File  Manager will  list  only  those forms  on  your active
  6669. drive.   You may change  the active drive  to see  forms on other
  6670. paths or drives.   See page #8  for more information on  the File
  6671. Manager.
  6672.  
  6673.  
  6674.  
  6675.  
  6676.  
  6677. Copy Data   106                                           ProFile
  6678.  
  6679.  
  6680. WARNING-  NEVER, NEVER enter in the name  of the database you are
  6681.           currently using.  Doing so may  corrupt the contents of
  6682.           your entire database.
  6683.  
  6684.  
  6685. Use  Selection Spec-   The Selection Spec  controls which records
  6686. from the  other  database  are copied  into  your  current  form.
  6687. Answer Yes to create a Selection  Spec or No to copy all  records
  6688. in the other database.
  6689.  
  6690. If the two forms are not identical, be careful not to reference a
  6691. field that does not appear in  the second database.  For example,
  6692. assume that the database in use has  a Sales field and the second
  6693. database does  not.  Defining a  Selection Spec  of "Sales  EQUAL
  6694. 10000" would result in no records being selected since the second
  6695. database does not have a field for Sales.
  6696.  
  6697.  
  6698. During the Copy
  6699.  
  6700. ProFile  displays  on  the  status line  the  number  of  records
  6701. processed and copied.
  6702.  
  6703. As  with  other functions,  you  may  pause the  Copy  process by
  6704. pressing any  key.  Pressing  any key  except [Esc] will  restart
  6705. Copy.    Pressing [Esc]  twice when  the  process is  halted will
  6706. return you  the  Exchange Menu.   All records  copied before  the
  6707. interruption will remain in the current database.
  6708.  
  6709.  
  6710.  
  6711.  
  6712.  
  6713.  
  6714.  
  6715.  
  6716.  
  6717.  
  6718.  
  6719.  
  6720.  
  6721.  
  6722.  
  6723.  
  6724.  
  6725.  
  6726.  
  6727.  
  6728.  
  6729.  
  6730.  
  6731.  
  6732.  
  6733.  
  6734.  
  6735. ProFile                                           Utilities   107
  6736.  
  6737.  
  6738. Global Update
  6739.  
  6740. Global Update lets you change selected  records in a database all
  6741. at once, instead of just one at  a time.  This function also lets
  6742. you update calculated fields and lookup fields.
  6743.  
  6744. Here's how:
  6745.  
  6746. 1.   Select Update from the Utilities Menu.
  6747.  
  6748. 2.   ProFile will advise  you to  make a backup  (see page  #115)
  6749.      before  continuing.  Press  [ENTER]  to  proceed,  [Esc]  to
  6750.      return to the Utilities Menu.
  6751.  
  6752. 3.   At the Ask Before Updating prompt, answer Yes to be prompted
  6753.      before the record  is updated, or  No to have ProFile  do it
  6754.      automatically.
  6755.  
  6756. 4.   At the Update Calculations prompt,  enter Yes to recalculate
  6757.      all formulas in the records that  are selected.  Entering No
  6758.      means that the  values in all calculated  fields will remain
  6759.      unchanged, even if the dependent fields are changed.
  6760.  
  6761. 5.   At the  Update  Stored Lookups  enter  Yes to  have  ProFile
  6762.      update all of your  stored lookups.  Entering No  will leave
  6763.      the stored lookups  fields unchanged.  This  function has no
  6764.      effect on non-stored lookup fields.
  6765.  
  6766. 6.   At the Selection Spec Menu, either enter a Selection Spec to
  6767.      only update specific records or choose All Records to update
  6768.      the entire database.
  6769.  
  6770. 7.   At the Enter Global Changes screen, enter in the appropriate
  6771.      changes.  Do not enter any changes  if you only wish to have
  6772.      either calculations or lookup fields updated only.
  6773.  
  6774. 8.   Press F10 to begin the update process.
  6775.  
  6776. Using a Selection Spec
  6777.  
  6778. Use a  Selection Spec  to update  only specific  records in  your
  6779. database.  The Selection Spec  is the same one used in  the other
  6780. sections in ProFile.
  6781.  
  6782.  
  6783. Entering Global Changes
  6784.  
  6785. Use  a blank form  to enter the  global changes that  you want to
  6786. make to the database.  Entering information in a field means "for
  6787. all records  that are selected,  replace the current  contents of
  6788. this field with what I have entered."  If a field is  left blank,
  6789.  
  6790.  
  6791.  
  6792.  
  6793. Utilities   108                                           ProFile
  6794.  
  6795.  
  6796. no change is made to its contents.  You may enter new information
  6797. directly in a field  to replace the contents of that field during
  6798. the update.
  6799.  
  6800. In  addition to  this,  ProFile has  five  advanced functions  to
  6801. assist  you  in making  global  updates.   Most  of the  commands
  6802. require that information  be entered after  a symbol. Figure  #27
  6803. summarizes their use.
  6804.  
  6805. Follow these steps when entering global changes:
  6806.  
  6807. 1.   Use the up  and down arrow keys  to move to the  field you'd
  6808.      like to update.
  6809.  
  6810. 2.   Enter in the  change to  replace, a symbol  followed by  the
  6811.      appropriate data or the tilde (~)  to erase, the contents of
  6812.      that field.
  6813.  
  6814. 3.   Continue  the  steps  above  until  all  changes  have  been
  6815.      entered.
  6816.  
  6817. 4.   Press F10 to start the update.
  6818.  
  6819. Note-     Global   Updates  affect  only  the  records  that  are
  6820.           currently  in  the database.   To  make  changes affect
  6821.           forms  not  yet entered,  see  the section  on Advanced
  6822.           Database Design, page #121.
  6823.  
  6824.  
  6825. During the Update Process
  6826.  
  6827. ProFile  displays  the records  being  changed during  the update
  6828. process.  If you answered Yes to Ask Before
  6829. Updating, you will be prompted before a record is changed.
  6830.  
  6831. As in  other sections, you may  halt the process by  pressing any
  6832. key.   Pressing [Esc]  twice will cancel  the current  update, or
  6833. press any key to resume processing.
  6834.  
  6835.  
  6836.  
  6837.  
  6838.  
  6839.  
  6840.  
  6841.  
  6842.  
  6843.  
  6844.  
  6845.  
  6846.  
  6847.  
  6848.  
  6849.  
  6850.  
  6851. ProFile                                           Utilities   109
  6852.  
  6853.  
  6854. Symbol         Use
  6855. ------         ---
  6856.  
  6857.  ~             You may erase the  contents of any field  by using
  6858.                the  tilde (~) symbol.  To do  so, move the cursor
  6859.                to  the  appropriate field  and  enter in  a tilde
  6860.                (~).  This tells ProFile  to erase any information
  6861.                in this field  for the records that  are selected.
  6862.                You could use this, for instance, to clear a field
  6863.                that contains outdated or inaccurate information.
  6864.  
  6865.  +new          The  plus sign  is used  to append  "new" data  to
  6866.                existing information  in a  field.  For  instance,
  6867.                entering  +Inc  in a  Firm  Name field  would mean
  6868.                append the firm name with Inc.
  6869.  
  6870.  &new          The ampersand  sign means  add "new"  data to  the
  6871.                beginning  of  a field.   Entering &Mr. in  a Name
  6872.                field   would   change  all   selected   names  to
  6873.                Mr. (existing name).
  6874.  
  6875.  -old          The minus sign  tells ProFile  that, if the  "old"
  6876.                data appears in  the field,  it should delete  it,
  6877.                but leave the rest of the information intact.  For
  6878.                instance, -Jr. in a  Name field would mean  delete
  6879.                Jr. from all names that are selected.
  6880.  
  6881. @old,new       This works like  a find and  replace feature on  a
  6882.                word  processor.  The  (@)  symbol means,  if  old
  6883.                appears in the field, replace it with new, leaving
  6884.                the  rest of the information intact.  For example,
  6885.                entering @Road,Drive in a Street field would cause
  6886.                all selected records to have the word Road changed
  6887.                to Drive.  So  "1254 Oak Road" would  become "1254
  6888.                Oak Drive".  This function is case sensitive.
  6889.  
  6890.  
  6891.                    Figure: Global Update change symbols
  6892.  
  6893.  
  6894.  
  6895.  
  6896.  
  6897.  
  6898.  
  6899.  
  6900.  
  6901.  
  6902.  
  6903.  
  6904.  
  6905.  
  6906.  
  6907.  
  6908.  
  6909. Utilities   110                                           ProFile
  6910.  
  6911.  
  6912.  
  6913. Global Delete
  6914.  
  6915. Global  Delete lets you  delete a group  of records  at one time.
  6916. You might use this function to delete records that are  no longer
  6917. needed or that have been copied to another database.
  6918.  
  6919. To delete a group of records:
  6920.  
  6921. 1.   Select the Delete records from the Utilities Menu.
  6922.  
  6923. 2.   ProFile will advise  you to  make a backup  (see page  #115)
  6924.      before  continuing.   Press  [ENTER]  to  proceed, [Esc]  to
  6925.      return to the Utilities Menu.
  6926.  
  6927. 3.   At the prompt Ask Before Deleting, answer Yes to be prompted
  6928.      or No to have ProFile delete the records automatically.
  6929.  
  6930. 4.   Enter in a Selection  Spec.  The Selection Spec is  the same
  6931.      one used in the other sections of ProFile.
  6932.  
  6933. 5.   The records will now be deleted.
  6934.  
  6935. WARNING-  Deleting forms erases them forever.  There is no way to
  6936.           retrieve them again.
  6937.  
  6938.  
  6939. During the Global Delete
  6940.  
  6941. The records being  deleted are shown as they are  deleted.  As in
  6942. other sections, you may halt the process by pressing any key.  If
  6943. you answered  Yes to  Ask Before  Deleting you  will be  prompted
  6944. before a record is deleted.
  6945.  
  6946. Pressing  [Esc] twice  will cancel the current process,  or press
  6947. any key to resume deleting records.
  6948.  
  6949.  
  6950. Index the Database
  6951.  
  6952. The Index  function is used  to restore  the index files  if they
  6953. have been corrupted.   The Index function  should be used if  you
  6954. have a power outage while you're working, or if  you suspect that
  6955. an index file has been damaged through some other means.
  6956.  
  6957. To use the Index function:
  6958.  
  6959. 1.   Select the Index option on the Utilities Menu.
  6960.  
  6961. 2.   Press  [ENTER] at the first prompt.  The index file will now
  6962.      be recreated.
  6963.  
  6964.  
  6965.  
  6966.  
  6967. ProFile                                           Utilities   111
  6968.  
  6969.  
  6970.  
  6971.  
  6972. Pack the Database
  6973.  
  6974. Pack is used to remove empty records (ones that have been deleted
  6975. but  not yet reused) from  your database.  Pack  makes a new data
  6976. file and makes  a backup copy of your existing database.  It then
  6977. copies all active  records to the new data file.    Finally, Pack
  6978. reindexes your database.
  6979.  
  6980. Before using Pack,  make a backup  copy of your database.   Also,
  6981. make  certain that  there is  enough room  on  your disk  for two
  6982. copies  of  the  data file.   If  there  isn't, do  not  pack the
  6983. database.   If  you have  a  disk  full error  while  packing the
  6984. database, see the section  in the appendix on error  messages for
  6985. information on recovering from a full disk.
  6986.  
  6987. As an alternative to Pack, you  could create a new database  with
  6988. the same design on  an empty disk and then use  the Copy function
  6989. on the Exchange Menu  to copy the information from  your original
  6990. database.
  6991.  
  6992. To use Pack:
  6993.  
  6994. 1.   Make  a  backup  copy  of  the  database  using  the  Backup
  6995.      function.
  6996.  
  6997. 2.   Select Pack from the Utilities Menu.
  6998.  
  6999. 3.   Press [ENTER] at the first prompt.
  7000.  
  7001. The database will now be packed.
  7002.  
  7003. Note-   In  addition  to removing  all deleted  records, Pack  re-
  7004.         indexes the database.
  7005.  
  7006.  
  7007. Backup
  7008.  
  7009. One of the most frightening moments is finding out that your hard
  7010. disk has crashed  (broken) or  that your floppy  has gone  south,
  7011. taking your data with it.
  7012.  
  7013. Backing up your database frequently  will prevent heavy losses in
  7014. the event of a media (disk)  failure.  To determine what frequent
  7015. means,  simply figure out how much data  and time you are willing
  7016. to lose if  a disk goes bad.  For most people, this means backing
  7017. up the database any time  they spend more than 30 minutes  making
  7018. changes, additions or deletions.
  7019.  
  7020.  
  7021.  
  7022.  
  7023.  
  7024.  
  7025. Utilities   112                                           ProFile
  7026.  
  7027.  
  7028. How Backup Works
  7029.  
  7030. Backup copies the Form Definition, and Data files associated with
  7031. the database in use.  Backup  allows you to copy the database  to
  7032. any floppy drive or hard disk.
  7033.  
  7034. ProFile appends an exclamation point (!)  to the extension of the
  7035. database file  names.   For example,  a database  called MAILLIST
  7036. could consist of MAILLIST.FRM and MAILLIST.DTA.  When you use the
  7037. Backup function, ProFile  will copy these files  to MAILLIST.FR!,
  7038. MAILLIST.DT!.  To save disk space, Backup does not copy the index
  7039. file(s) since they can be reconstructed easily.
  7040.  
  7041.  
  7042. Recovering a Backup Database
  7043.  
  7044. If you wish to use a previous version of a database that has been
  7045. backed-up using ProFile Backup function, simply rename the backup
  7046. copy to the original names.
  7047.  
  7048. Using our previous  example, you'd  issue the following  commands
  7049. (note that if the database name already exists, you will have  to
  7050. erase the active name first).
  7051.  
  7052. To  rename the backup files  created from database MAILLIST, type
  7053. the following:
  7054.  
  7055.  
  7056. REN  MAILLIST.FR!   MAILLIST.FRM
  7057. REN  MAILLIST.??!   MAILLIST.??X
  7058.  
  7059.  
  7060. If you get a  duplicate filename error, first copy  the duplicate
  7061. files to another disk, delete the  duplicate files and then issue
  7062. the above commands.   See your DOS manual for more information on
  7063. deleting and renaming files.
  7064.  
  7065. WARNING-  Backup  will  not copy  a  database to  multiple floppy
  7066.           disks.  If you are using a  hard disk and your database
  7067.           is larger  than the  capacity of  your system's  floppy
  7068.           disk, use the DOS "Backup"  command or whatever program
  7069.           the hard disk drive  maker suggests you use.   For more
  7070.           information  see  your DOS  User's  Guide or  hard disk
  7071.           manual.
  7072.  
  7073.  
  7074.  
  7075.  
  7076.  
  7077.  
  7078.  
  7079.  
  7080.  
  7081.  
  7082.  
  7083. ProFile                                           Utilities   113
  7084.  
  7085.  
  7086. Floppy Disk Systems
  7087.  
  7088. You may backup a ProFile database  on to a separate disk.  Follow
  7089. these rules:
  7090.  
  7091. o  The  Form Definition,  Data, and  Index  files of  the database
  7092.    from which you are copying must all be on the same disk.
  7093.  
  7094. o  Never remove the disk that contains the ProFile database.
  7095.  
  7096. o  ProFile will prompt you to  swap the PROGRAM DISK with the disk
  7097.    that  will  hold  the copy  of  the  database and  vice  versa.
  7098.    EXCHANGE DISKS ONLY WHEN PROMPTED.
  7099.  
  7100.  
  7101. Entering the Disk and Path Name
  7102.  
  7103. At the prompt,  Destination Drive  .:, enter the  drive and  path
  7104. where ProFile should copy your database and then press [ENTER].
  7105.  
  7106. If you  enter an invalid  drive or  path, ProFile  will beep  and
  7107. allow you  to re-enter  it.  For  a more  thorough discussion  on
  7108. drive and path names see page #8 or your DOS manual.
  7109.  
  7110.  
  7111.  
  7112. During the Backup
  7113.  
  7114. ProFile will  copy the  Form Definition and  Data file.   As each
  7115. file is  copied it will  be listed  on the screen.   ProFile will
  7116. indicate when each file has been successfully completed.
  7117.  
  7118.  
  7119. Problems and Errors
  7120.  
  7121. Duplicate File-   If the  file that ProFile  is copying exists  on
  7122.                   the  backup drive,  ProFile will  ask before  it
  7123.                   overwrites it.
  7124.  
  7125. File Not Copied-  This  error will appear  if you cancel  the copy
  7126.                   operation  or if there  is not enough disk space
  7127.                   on  the destination  drive.  Try  using a  newly
  7128.                   formatted  disk, or  check your  file size (with
  7129.                   the DOS  "DIR" command)  to see if  the file  is
  7130.                   too big  to fit on the floppy disk.  (Most 5.25"
  7131.                   floppy  disks  can hold  up to  360 KB  (360,000
  7132.                   characters) of information.)
  7133.  
  7134.  
  7135.  
  7136.  
  7137.  
  7138.  
  7139.  
  7140.  
  7141. Utilities   114                                           ProFile
  7142.  
  7143.  
  7144. Printer Setup
  7145.  
  7146. The Printer  Setup function lets  ProFile use different  types of
  7147. printers.    The  program  supports   both  parallel  and  serial
  7148. printers.   The  setup function lets  you choose  from up  to two
  7149. ports for  both types  of printers.   If you  are using  a serial
  7150. printer, you set the  parameters for it with the  setup function.
  7151. Printer setups may be changed as often as you like.
  7152.  
  7153. The default setting is a parallel printer using port 1.
  7154.  
  7155.  
  7156. Parallel Printers
  7157.  
  7158. Parallel printers are the easiest  to setup.  Only the port  must
  7159. be selected.
  7160.  
  7161. Printer Port-     Select the parallel  port to which your  printer
  7162.                   is attached (LPT 1  or LPT 2) and press [ENTER].
  7163.                   If  everything is OK,  answer Yes to the prompt.
  7164.                   The new setting will now be saved.
  7165.  
  7166.  
  7167.  
  7168.  
  7169.  
  7170.  
  7171.  
  7172.  
  7173.  
  7174.  
  7175.  
  7176.  
  7177.  
  7178.  
  7179.  
  7180.  
  7181.  
  7182.  
  7183.  
  7184.                  Figure 28: Printer Setup screen
  7185.  
  7186.  
  7187.  
  7188.  
  7189.  
  7190.  
  7191.  
  7192.  
  7193.  
  7194.  
  7195.  
  7196.  
  7197.  
  7198.  
  7199. ProFile                                           Utilities   115
  7200.  
  7201.  
  7202. Serial Printers
  7203.  
  7204. Serial printers  need additional  information  to work  properly.
  7205. The following outlines the different setting options:
  7206.  
  7207. Printer Port-     Select the serial port to which your printer  is
  7208.                   attached (COM 1 or COM 2) and press [ENTER].
  7209.  
  7210. The  following  settings  will now  be  displayed.    If you  are
  7211. uncertain  how  your printer  is  configured, check  the printers
  7212. owners manual.
  7213.  
  7214. Baud Rate-     This is  the speed  at which data  is sent  to the
  7215.                printer.   Most printers  use 1200,  4800 or  9600
  7216.                baud.   Enter the appropriate  selection from  the
  7217.                list and press [ENTER].
  7218.  
  7219. Parity-        Enter the appropriate parity setting, from 1 to 3.
  7220.  
  7221. Stop  Bits-    Enter  the  appropriate stop  bits.   If  the word
  7222.                length  is 8 the stop bits  are usually 1.  If the
  7223.                word length is 7, stops bits are usually 2.
  7224.  
  7225. Word Length-   Enter your printer's word length.
  7226.  
  7227. The settings will be saved by answering Yes to the "OK" prompt.
  7228.  
  7229.  
  7230.  
  7231.  
  7232.  
  7233.  
  7234.  
  7235.  
  7236.  
  7237.  
  7238.  
  7239.  
  7240.  
  7241.  
  7242.  
  7243.  
  7244.  
  7245.  
  7246.  
  7247.  
  7248.  
  7249.  
  7250.  
  7251.  
  7252.  
  7253.  
  7254.  
  7255.  
  7256.  
  7257. Advanced Database Design   116                            ProFile
  7258.  
  7259.  
  7260. Advanced Database Design
  7261.  
  7262. All  things  change  with  time  and  this is  true  for  ProFile
  7263. databases as well.  As you work with a form, over time your needs
  7264. change.   A  field might  need  to be  added,  or one  never used
  7265. deleted.   Maybe a field  isn't quite long  enough.  Whatever the
  7266. reason, you need to change the database design.
  7267.  
  7268. It is easy  and simple to do  with ProFile.  You can  change just
  7269. about anything that you like.
  7270.  
  7271. REORGANIZING  TAKES  TIME.   When  you change  the  design  of  a
  7272. database,   ProFile  must  reorganize   the  information  in  it.
  7273. Although  it  takes  only  a  few  minutes to  change  the  form,
  7274. reorganizing the  data  takes time.   The  more records  in  your
  7275. database, the more time it will take.
  7276.  
  7277. WARNING-  Always make a  backup of your database  before changing
  7278.           the form.   Use the  Backup function  on the  Utilities
  7279.           Menu.  See page #115.
  7280.  
  7281.  
  7282. Changing a Database Design
  7283.  
  7284. Making changes to your database is simple.  Here's how to do it:
  7285.  
  7286. 1.   Use the Backup function on the Utilities Menu to make a copy
  7287.      of your database.  See page #115.
  7288.  
  7289. 2.   From the Form Menu, select the Layout option.
  7290.  
  7291. 3.   When your  form layout is  displayed, you may do  any of the
  7292.      following:
  7293.         o Change the field prompts, text and form.
  7294.         o Move a field.
  7295.         o Delete a field.
  7296.         o Add a field.
  7297.  
  7298. 4.   When  you've  made  any appropriate  changes,  press  F10 to
  7299.      continue to the Define Field Attributes screen.
  7300.  
  7301. 5.   Here, you may  change the field  attributes of any field  or
  7302.      setup new fields.
  7303.  
  7304. 6.   Press F10 when you are finished.  You will receive a warning
  7305.      if you have changed the order,  length, or number of fields.
  7306.      Answer Yes to continue.
  7307.  
  7308. ProFile will now reorganize your data  if you changed the length,
  7309. order,  or  number of  fields.  If  your  database is  over 1,000
  7310. records, this will take time.
  7311.  
  7312.  
  7313.  
  7314.  
  7315. ProFile                            Advanced Database Design   117
  7316.  
  7317.  
  7318.  
  7319.  
  7320.  
  7321. Editing the Form Layout
  7322.  
  7323. Editing the Form Layout  is the same as designing  the form.  You
  7324. have  the identical  keystrokes  and  functions available.   This
  7325. includes copying, deleting, and inserting lines.  You may use the
  7326. arrow keys to  move around the  form.  For  details on using  the
  7327. Layout function, see page #17.
  7328.  
  7329. On  existing  forms,  ProFile inserts  field  identifiers  at the
  7330. beginning of each field.  This is  how ProFile keeps track of the
  7331. fields in your  form.   Field identifiers start  with AA,  follow
  7332. with AB,  then AC, etc. They are placed  at the very beginning of
  7333. each field.    Field  identifiers are  only  placed  on  existing
  7334. fields, never on new ones.  If you create a new field, do not add
  7335. a field  identifier to  it.   See page  #122  for information  on
  7336. creating  new  fields on  existing  forms,  or page  #15  for the
  7337. details on how to create a new form.
  7338.  
  7339. If  a field is one  or two characters long,  you will not see the
  7340. underlines that mark the field length, only the field identifier.
  7341. If  you need  to change  a field  length to less  than two  on an
  7342. existing  field, change the field  length at the Field Attributes
  7343. screen.
  7344.  
  7345. If you move  a field, you must  take care to duplicate  the field
  7346. identifier  exactly as  it appeared  before the field  was moved.
  7347. More on this in the following section.
  7348.  
  7349.  
  7350. Moving a Field
  7351.  
  7352. You  may move any field in your  database.  Make certain that you
  7353. move  the  information  blank  and the  field  identifier  at the
  7354. beginning of  it.   As  long as  you move  the field  identifier,
  7355. ProFile will keep track of the field attributes for you.
  7356.  
  7357. To move a field, use the copy command or retype the prompt in its
  7358. new  position.  Then, enter in the  field identifier, followed by
  7359. the information blank, making certain that  it is the same length
  7360. as  it was before.  Make certain  that you erase the old position
  7361. entirely, the field identifier, colon, and information.
  7362.  
  7363. IMPORTANT-  Make certain  that you move  the field  identifier or
  7364. retype it exactly as it was.  Failure to do so will cause ProFile
  7365. to consider it a new field.  This will mean that  all information
  7366. in the field will be lost.
  7367.  
  7368.  
  7369.  
  7370.  
  7371.  
  7372.  
  7373. Advanced Database Design   118                            ProFile
  7374.  
  7375.  
  7376. Adding a Field
  7377.  
  7378. To add  a new field, move the cursor  the position where you want
  7379. the field to start and type in the prompt for it. Remember to end
  7380. the label with a  colon (:).  Next, create the  information blank
  7381. by using the  underline character to designate the  field length.
  7382. DO NOT insert a field identifier  at the beginning of the  field.
  7383. Field identifiers are only needed for existing fields.
  7384.  
  7385. You may use the insert mode to  create additional space on a line
  7386. for the  new field or  insert a new  line by pressing  F3 (Insert
  7387. Line Key).   Be careful  not to  erase or type  over an  existing
  7388. label.
  7389.  
  7390. Press F10  at  the Form  Layout  screen.   At  the  Define  Field
  7391. Attributes  screen,  move the  cursor to  the  new field.   Press
  7392. [ENTER] to enter new  field attributes for this field.   See page
  7393. #22 for more information on creating field attributes.
  7394.  
  7395.  
  7396. Deleting a Field
  7397.  
  7398. To delete  a field,  simply erase  the field  name, colon,  field
  7399. identifier,  and  information blank  on  the Form  Layout screen.
  7400. ProFile will automatically reformat the data and remaining fields
  7401. for you.
  7402.  
  7403.  
  7404. Changing Field Length
  7405.  
  7406. You may change the field length of any field.
  7407.  
  7408. To change the length of a field, make certain that you are at the
  7409. Form Layout  screen.  Move the cursor to the field that you would
  7410. like to change.  Add underlines to the existing information blank
  7411. to lengthen  the  blank or  delete  the underline  characters  to
  7412. shorten it.
  7413.  
  7414. If you shorten a field length, ProFile will truncate the informa-
  7415. tion for that  field in your database  to fit the new  size.  You
  7416. might  lose information when this happens.   Always make a backup
  7417. before changing your database design.
  7418.  
  7419. Alternatively,  a field's  length may  be changed  on the  Define
  7420. Field Attributes screen.  This is useful for shortening fields to
  7421. one or two characters.  See page #25 for more information on this
  7422. feature.
  7423.  
  7424.  
  7425.  
  7426.  
  7427.  
  7428.  
  7429.  
  7430.  
  7431. ProFile                            Advanced Database Design   119
  7432.  
  7433.  
  7434. Changing Field Attributes
  7435.  
  7436. After  you've finished  making any  changes to  the form  layout,
  7437. press F10.  At the Define Field Attributes screen move the cursor
  7438. to any field  that needs to  be changed.  Press [ENTER]  and then
  7439. make any changes to the field's attributes as appropriate.
  7440.  
  7441. See page #22 for more detailed information on field attributes.
  7442.  
  7443.  
  7444.  
  7445.  
  7446.  
  7447.  
  7448.  
  7449.  
  7450.  
  7451.  
  7452.  
  7453.  
  7454.  
  7455.  
  7456.  
  7457.  
  7458.  
  7459.  
  7460.  
  7461.  
  7462.  
  7463.  
  7464.  
  7465.  
  7466.  
  7467.  
  7468.  
  7469.  
  7470.  
  7471.  
  7472.  
  7473.  
  7474.  
  7475.  
  7476.  
  7477.  
  7478.  
  7479.  
  7480.  
  7481.  
  7482.  
  7483.  
  7484.  
  7485.  
  7486.  
  7487.  
  7488.  
  7489. Advanced Database Design   120                            ProFile
  7490.  
  7491.  
  7492.  
  7493. Form Options
  7494.  
  7495. After the Form Design  has been completed, you may  customize the
  7496. form to make it easier to use or more efficient.  You may:
  7497.  
  7498. o  Change the Form Display Name.
  7499.  
  7500. o  Change the starting value for incrementing fields.
  7501.  
  7502. o  Specify default (standard) values for fields in your form.
  7503.  
  7504. To  add any of the above features,  select either Options for the
  7505. Display Name  and increment starting  value or  Default from  the
  7506. Form Menu.  The details for each option follow.
  7507.  
  7508.  
  7509. Change the Display Name
  7510.  
  7511. The  display  name  appears in  the  upper  right  corner of  the
  7512. computer  screen.   It is  initially  set  to the  form  name you
  7513. entered when designing  it.  Sometimes, it  is helpful to  change
  7514. the  display name to something more  descriptive.  You may change
  7515. the display  name to anything that you like.   The name may be up
  7516. to 30 characters long.
  7517.  
  7518. To  change  the name,  select the  Options  function on  the Form
  7519. Menu.  Enter in any new name that you wish.   The old name may be
  7520. deleted by  pressing ^[Home] (Control-Home) when the cursor is at
  7521. the beginning  of the old name.  Press F10  to save the new name,
  7522. or [Esc] to cancel any changes that you made.
  7523.  
  7524. NOTE-     Changing the Form Display Name does not change the name
  7525.           of  the Form  Design, Data,  or Index  files.   It only
  7526.           changes the name  that appears in the  upper right hand
  7527.           corner  of your screen  after you have  selected a form
  7528.           design.
  7529.  
  7530.  
  7531.  
  7532.  
  7533.  
  7534.  
  7535.  
  7536.  
  7537.  
  7538.  
  7539.  
  7540.  
  7541.  
  7542.  
  7543.  
  7544.  
  7545.  
  7546.  
  7547. ProFile                            Advanced Database Design   121
  7548.  
  7549.  
  7550. Current Increment Value
  7551.  
  7552. The current increment value is used  to set an incrementing field
  7553. when new records are added.  When  a new database is created this
  7554. is set to zero (0).  When the first record is added, the value is
  7555. then incremented to one.  As new records are added this  value is
  7556. increased by one  for each new  record added.   See page #25  for
  7557. more information on incrementing fields.
  7558.  
  7559.  
  7560.  
  7561.  
  7562.  
  7563.  
  7564.  
  7565.  
  7566.  
  7567.  
  7568.  
  7569.  
  7570.  
  7571.  
  7572.  
  7573.  
  7574.  
  7575.  
  7576.  
  7577.                    Figure 29: Options function
  7578.  
  7579.  
  7580.  
  7581.  
  7582.  
  7583.  
  7584.  
  7585. Sometimes   you  may  wish   the  completed  forms   to  have  an
  7586. incrementing field that starts with a value other  than zero.  By
  7587. changing the Current Increment Value, you  can set (or reset) the
  7588. value that appears in an incrementing field.
  7589.  
  7590. To  change  the  Current  Increment  Value,  select  the  Options
  7591. function  on  the Form  Menu.   Move  the cursor  to  the Current
  7592. Increment Value  prompt and enter  a new value.   The next record
  7593. added  will  start at  the integer  following  the value  that is
  7594. entered.  (If you enter 100, the next record added will  start at
  7595. 101.)  Press  F10 to save  the new name, or  [Esc] to cancel  any
  7596. changes  that you  made.  See  figure #29  for an example  of the
  7597. Options function.
  7598.  
  7599.  
  7600.  
  7601.  
  7602.  
  7603.  
  7604.  
  7605. Advanced Database Design   122                            ProFile
  7606.  
  7607.  
  7608. Default Form Values
  7609.  
  7610. Many times when information is entered, the same data appears for
  7611. a  field over and  over again.  For instance,  you might create a
  7612. mailing list where every person is from the same city.
  7613.  
  7614. To speed up the data entry, you can assign a default value to any
  7615. field  in  your  form.  When  you  add  new  information to  your
  7616. database,  the   default  value  automatically  appears   in  the
  7617. information  blank  next to  the  field label.   Using  the above
  7618. example, if all  the people  were in Richmond,  you would  assign
  7619. "Richmond" as the default value  for the City field and  "VA" for
  7620. the State  field.  In this way, you would not  need to enter in a
  7621. City or State name; ProFile would do it for you automatically.
  7622.  
  7623. When you enter new information into a field with a default value,
  7624. it is erased automatically when you enter any new information.
  7625.  
  7626. To enter default values:
  7627.  
  7628. 1.   Select the Default Values from the Form Menu.
  7629.  
  7630. 2.   Your form design will appear,  just as it does when  you add
  7631.      new records.
  7632.  
  7633. 3.   Move  the cursor to  the field where  you'd like  to enter a
  7634.      default  value.   Enter in  the value  just  as if  you were
  7635.      filling in a new  form.  With the above example,  moving the
  7636.      cursor to City  and entering  "Richmond" in the  information
  7637.      blank would create a default value ("Richmond") for the City
  7638.      field.
  7639.  
  7640. 4.   Repeat step 3 until all values have been entered.
  7641.  
  7642. 5.   If you want to  delete a default value,  move the cursor  to
  7643.      the   value   you'd   like   deleted   and   press   ^[Home]
  7644.      (Control-Home).
  7645.  
  7646. 6.   When all changes have been made press F10.
  7647.  
  7648. 7.   At the Make any changes permanent prompt, answer Yes to save
  7649.      your changes to disk, or No to  make them applicable to this
  7650.      session only.  (They'll return to their previous values when
  7651.      you exit ProFile.)
  7652.  
  7653. That's all there is to it. Default values may be changed as often
  7654. as you like.
  7655.  
  7656.  
  7657.  
  7658.  
  7659.  
  7660.  
  7661.  
  7662.  
  7663. ProFile                                          Appendix A   123
  7664.  
  7665.  
  7666. Appendix A:
  7667.  
  7668. Glossary
  7669.  
  7670. ASCII-    A coding  system used  by  computers to  represent text
  7671. characters and non-printable characters.
  7672.  
  7673. ASCII File-   A disk file that contains no  special coding.  This
  7674. type  of  file  can  be  used  to share  data  between  different
  7675. application programs.
  7676.  
  7677. Backup-  A copy of  a database created for archival  use.  Backup
  7678. copies of  a database  are made  and then  stored safely away  to
  7679. protect information in case of problems with the original file.
  7680.  
  7681. Browse-  To scan through the database.
  7682.  
  7683. Bulk  Mail  Sort-    Ordering  the  information in  the  database
  7684. according to guidelines established by the U.S. Postal Service.
  7685.  
  7686. Calculation-  A formula  that ProFile uses in reports  to perform
  7687. arithmetic operations on columns or fields.
  7688.  
  7689. Calculated Column-   The column  in a report  that is created  by
  7690. calculations performed on other columns.
  7691.  
  7692. Column Break-   Place in a  sorted report where a  value changes.
  7693. Depending  on  the  report  options   selected,  it  can  trigger
  7694. subtotals, line breaks, or page breaks.
  7695.  
  7696. Column Break Field  Number (#)-   The  field number  in a  report
  7697. whose value is used to determine column breaks.
  7698.  
  7699. Database-   The  set of Data,  Index, and Form  Design files that
  7700. ProFile uses, all  of which  are stored with  a common file  name
  7701. (only the file extensions differ).
  7702.  
  7703. Data File-  A collection of records on disk.
  7704.  
  7705. DIF-    An  industry  standard  method   of  coding  and  storing
  7706. information in a disk file (Data Interchange Format).
  7707.  
  7708. Default Value-  A field may have a preset value that is displayed
  7709. when adding new  records.  Default  values are used  to speed  up
  7710. data entry.
  7711.  
  7712. Field-  This  is both the field  name and the blank  that follows
  7713. it.  A collection of fields makes up a database.
  7714.  
  7715. Field Attributes-  A field's type and length.
  7716.  
  7717.  
  7718.  
  7719.  
  7720.  
  7721. Appendix A   124                                          ProFile
  7722.  
  7723.  
  7724. Field  Help Line-   Optional  help that  can  be created  to help
  7725. describe what data goes in an information blank.
  7726.  
  7727. Field Length-  The length  of a field in characters.  Fields  may
  7728. be up to 80 characters long.
  7729.  
  7730. Field  Name-   Prompt  the typist  for  what kind  of information
  7731. should go in the blank following it.
  7732.  
  7733. Field Number-   The number  of a  field in a  form.  Numbers  are
  7734. displayed   next   to   field   names   in   certain   functions,
  7735. i.g. Selection Spec, Create Report, etc.
  7736.  
  7737. Field  Types-  A field in a  database may be one of several types
  7738. i.e. text, numbers, dates, etc.
  7739.  
  7740. File-  A collection of data stored on a disk.
  7741.  
  7742. File Extension-  The dot and up to three letters at the  end of a
  7743. file name.  ProFile uses file extensions  to keep track of Index,
  7744. Data, Form Definition, Report and Label files.
  7745.  
  7746. File Manager-   The function  in ProFile that  helps to  retrieve
  7747. databases, reports, and labels.
  7748.  
  7749. File  Name-  A  name given to  a file.  File  names can  be up to
  7750. eight characters long and include an optional file extension.
  7751.  
  7752. Form-    A  series  of  fields arranged  on  the  screen  so that
  7753. information can be entered into it.
  7754.  
  7755. Form  Definition File-    This is  the file  that holds  the form
  7756. itself  plus other information that is important to the database,
  7757. such as the length and type of each field.
  7758.  
  7759. Form Design-  The physical layout of the form.
  7760.  
  7761. Function  Key-   The keys labeled  F1 through  F10 on the  IBM PC
  7762. keyboard.
  7763.  
  7764. Function Key Help Line-  The  information displayed on line 25 of
  7765. the screen  signifying what  function keys are  active and  their
  7766. uses.
  7767.  
  7768. Global Delete-  To automatically  remove selected records from  a
  7769. database.
  7770.  
  7771. Global Update-  To automatically change  certain fields in all or
  7772. selected records in a database.
  7773.  
  7774. Help Prompts-  See Field Help.
  7775.  
  7776.  
  7777.  
  7778.  
  7779. ProFile                                          Appendix A   125
  7780.  
  7781.  
  7782.  
  7783. Index File-  ProFile uses an a separate file to keep track of the
  7784. order of  the information in  the data  file.  It works  like the
  7785. index  in the back  of this manual;  which allows  you to quickly
  7786. find specific  information on this  program.  The  index file  is
  7787. based on the key field of the database.
  7788.  
  7789. Information Blank-   The space following  a field name where  the
  7790. information  for  a field  is entered.   It  is signified  on the
  7791. computer screen with a series of dashes.
  7792.  
  7793. Invisible   Column-     Used   in   a  report   for  intermediate
  7794. calculations.  It is not displayed or printed in the report.
  7795.  
  7796. Key   Field-    The   field  used  for   extremely  quick  record
  7797. retrievals.  Data from the key field makes up the Index File.
  7798.  
  7799. Label-  A field name.
  7800.  
  7801. MailMerge-  The process by which a word processing program merges
  7802. a  mailing  list  file with  a  template  form.   Used to  create
  7803. personalized letters, forms, etc.
  7804.  
  7805. Merge  Spec-  The  spec used to  tell ProFile how  to copy fields
  7806. from an ASCII file into a ProFile database.
  7807.  
  7808. Modeling a Form-  To use an existing form as a template for a new
  7809. database that is being created.
  7810.  
  7811. Page Break-   Place  in a  report where  a new  page is  started.
  7812. Determined by the column break field.
  7813.  
  7814. Path Name-   Series of names  indicating a disk, root  directory,
  7815. subdirectory, and file name.
  7816.  
  7817. Precedence-  The order by which a formula is calculated.
  7818.  
  7819. Primary Sort-  The first sort performed on the database.  Sort by
  7820. which all other sorts are based.
  7821.  
  7822. Printer Control Codes-   Codes that vary from printer  to printer
  7823. that  control pitch,  spacing page  size,  etc.  These  codes are
  7824. entered before a report or label is printed.
  7825.  
  7826. Print Margin-  The number of characters that an entire report (or
  7827. labels) are moved to the right.  Used to align the information on
  7828. the page.
  7829.  
  7830. Record-  A  record (or completed  form) is a  form with the  data
  7831. entered in it.
  7832.  
  7833.  
  7834.  
  7835.  
  7836.  
  7837. Appendix A   126                                          ProFile
  7838.  
  7839.  
  7840. Report-  A collection of information collected from the  database
  7841. and displayed in columns on the screen or printer.
  7842.  
  7843. Save-  To keep information permanently on disk for later use.
  7844.  
  7845. Select Spec-   A  spec used  to limit  the records  in a  report,
  7846. labels, MailMerge, etc. to those meeting the specified criteria.
  7847.  
  7848. Sort-  To change the order of a the information in a database.
  7849.  
  7850. Spec-  Short for specifications.
  7851.  
  7852. Subcalculation-  In Report, calculations  performed when a column
  7853. break occurs, i.e. subtotal, subaverage, subcount.
  7854.  
  7855. Wild Card-   Character  that  can stand  for many.   In the  File
  7856. Manager, the asterisk (*) means any  series of characters and the
  7857. question mark means any single character.
  7858.  
  7859. Working Copy-  The copy of  the program disk that is used  daily.
  7860. The master  is placed safely  away and used only  to make working
  7861. copies.
  7862.  
  7863.  
  7864.  
  7865.  
  7866.  
  7867.  
  7868.  
  7869.  
  7870.  
  7871.  
  7872.  
  7873.  
  7874.  
  7875.  
  7876.  
  7877.  
  7878.  
  7879.  
  7880.  
  7881.  
  7882.  
  7883.  
  7884.  
  7885.  
  7886.  
  7887.  
  7888.  
  7889.  
  7890.  
  7891.  
  7892.  
  7893.  
  7894.  
  7895. ProFile                                          Appendix B   127
  7896.  
  7897.  
  7898. Appendix B:
  7899.  
  7900.  
  7901. Files that ProFile Uses
  7902.  
  7903. The following  file extensions  are used by  ProFile to  identify
  7904. certain types of files.
  7905.  
  7906.  
  7907. Database Files
  7908.  
  7909. Extension      Type of File
  7910. ---------      -------
  7911. .FRM           Form Definition File
  7912.  
  7913. .BAK           Previous version of a Form Definition File
  7914.  
  7915. .DTA           Database Data File
  7916.  
  7917. .DTY           Previous version of your database before a pack or
  7918.                reorganization
  7919.  
  7920. .I??           Database Index File where ?? = 01 or 02, 03, etc.
  7921.  
  7922. .LAB           Label Definition File
  7923.  
  7924. .LXX           Previous version of a Label Definition File
  7925.  
  7926. .RPT           Report File
  7927.  
  7928. .RXX           Previous version of a Report File
  7929.  
  7930.  
  7931. Program Files
  7932.  
  7933. The program files that make up  ProFile are described below.  See
  7934. PF-READ.ME for more information.
  7935.  
  7936. PF.EXE-      This is the main program file of ProFile.
  7937.  
  7938. PF.HLP-      This is  the help  file used  for  context sensitive
  7939.              help.
  7940.  
  7941.  
  7942.  
  7943.  
  7944.  
  7945.  
  7946.  
  7947.  
  7948.  
  7949.  
  7950.  
  7951.  
  7952.  
  7953. Appendix C   128                                          ProFile
  7954.  
  7955.  
  7956. Appendix C:
  7957.  
  7958. Error Messages
  7959.  
  7960. ProFile is a sophisticated program that can generally do what you
  7961. ask  of it.   When it  can't it displays  an error  message.  The
  7962. error message will either appear on a prompt line near the bottom
  7963. of the screen  or in  a large box  at the  bottom of the  screen.
  7964. Most of  the  messages require  no  explanation.   However,  more
  7965. detailed information is listed below for your convenience.
  7966.  
  7967. ProFile has three types of error messages- printer and disk drive
  7968. errors, system errors, and sorting errors.  Generally, unless the
  7969. problem  is severe, ProFile will attempt  to recover and continue
  7970. operation.   Problems that ProFile cannot recover from are called
  7971. fatal errors.
  7972.  
  7973. Whenever  ProFile  encounters  an  error,  it displays  an  error
  7974. message.  If the problem can be corrected, ProFile will do so and
  7975. continue.  If the error  is fatal, ProFile will attempt  to close
  7976. the data and index files of the database in use.  This is so  you
  7977. do  not  lose any  information  in your  database.   ProFile will
  7978. inform you if it is successful.   If it is not, you should  check
  7979. your database to see that all the information is intact.
  7980.  
  7981.  
  7982. When You Have an Error
  7983.  
  7984. If you encounter a fatal error, do the following:
  7985.  
  7986. 1)   Immediately jot down the circumstances that led to the error
  7987.      condition.
  7988.  
  7989. 2)   Write down the error message  and an error address if  it is
  7990.      listed on the screen.
  7991.  
  7992. 3)   Review this section  for a  message's meaning and  potential
  7993.      solutions.
  7994.  
  7995. 4)   Let us know as outlined in the PF-READ.ME file.
  7996.  
  7997.  
  7998. Disk and Printer Error Messages
  7999.  
  8000. Disk write error-  Disk full or bad-  This is the most  common of
  8001. all disk  drive errors, particularly on floppy  disk systems.  It
  8002. usually means that you have run  out of space on the disk  drive.
  8003. It  could also mean that  the disk is bad.   If the disk is full,
  8004. you must free up space on the  disk to eliminate this error.  Try
  8005. removing unneeded report files, label files, etc.
  8006.  
  8007.  
  8008.  
  8009.  
  8010.  
  8011. ProFile                                          Appendix C   129
  8012.  
  8013.  
  8014.  
  8015.  
  8016. Recovering from Disk Full
  8017.  
  8018. There are two functions where, if a disk were to become full, you
  8019. could lose information in your database:
  8020.  
  8021. o  Packing the database
  8022.  
  8023. o  Reorganizing the database after  changing the Form  Definition,
  8024.    i.e. field length or number of fields.
  8025.  
  8026. If you  made a  backup of  your database  before you started  the
  8027. above procedures, congratulate yourself on your foresight and use
  8028. the  backup.   If you  didn't, do  the  following to  restore the
  8029. database  to   its  original   condition  before   the  pack   or
  8030. reorganization (all changes will be lost):
  8031.  
  8032. 1)   If  you are  using  a floppy  disk, copy  it  and store  the
  8033.      original safely away until you have completely recovered all
  8034.      your data.
  8035.  
  8036. 2)   If you are using a hard  disk system, you must make room  on
  8037.      the disk for the database, and  backup (using your hard disk
  8038.      backup program) all  of the ProFile  database files for  the
  8039.      database that was in use.
  8040.  
  8041.      For example, if your database is called Customer, four files
  8042.      make   up  the   database   at  this   point-  Customer.FRM,
  8043.      Customer.BAK,  Customer.DTA,  Customer.DTY.   Backup all  of
  8044.      these.   Do  not  worry  about  backing up  the  index  file
  8045.      (Customer.I01), it will be rebuilt shortly.
  8046.  
  8047. 3)   Review   Appendix  B  to   understand  what  different  file
  8048.      extensions mean.  If  the database files ending  in .BAK and
  8049.      .DTY are not present, do not continue.
  8050.  
  8051.      For example, if your database was called Customer, the files
  8052.      would be listed as Customer.DTY and Customer.BAK.
  8053.  
  8054. 4)   For the following explanation, assume  that your database is
  8055.      called Customer.  First,  return to the DOS prompt  and make
  8056.      the  disk  and  directory  that  holds  the  database  files
  8057.      active.  If you are using a floppy system this would be done
  8058.      by typing B: and then [ENTER].  Hard disk  users should type
  8059.      C: [ENTER], CD\ [ENTER] and then CD ProFile [ENTER].
  8060.  
  8061.  
  8062.  
  8063.  
  8064.  
  8065.  
  8066.  
  8067.  
  8068.  
  8069. Appendix C   130                                          ProFile
  8070.  
  8071.  
  8072.      Follow these steps:
  8073.  
  8074.      a)   Delete  the  Form  Definition  file,  Customer.FRM,  by
  8075.           typing:
  8076.           DEL Customer.FRM [ENTER].
  8077.  
  8078.      b)   Rename the Form Definition backup  file to the original
  8079.           by typing:
  8080.           REN Customer.BAK Customer.FRM [ENTER].
  8081.  
  8082.      c)   Delete the data file by typing:
  8083.           DEL Customer.DTA [ENTER].
  8084.  
  8085.      d)   Rename  the  data  file  backup   to  the  original  by
  8086.           entering:
  8087.           REN Customer.DTY Customer.DTA [ENTER].
  8088.  
  8089.      e)   Delete the index file by typing:
  8090.           DEL Customer.I?? [ENTER].
  8091.  
  8092.      f)   Restart ProFile  and then  enter in  the database  file
  8093.           name, in this example Customer.  The index file(s) will
  8094.           be automatically created.
  8095.  
  8096. After the system has  reindexed the database, you should  use the
  8097. edit function  to browse through  the database to  ascertain that
  8098. the recovery was successfully completed.
  8099.  
  8100. If you had made changes to  the Form Definition, you may place  a
  8101. copy of  the file (that you  made in step  1 or 2) on  a separate
  8102. disk.  Next, use the Copy Database  function on the Exchange Menu
  8103. to move the information from the old database to the new form.
  8104.  
  8105. Remember,   always  backup  your   database  before   packing  or
  8106. reorganizing.
  8107.  
  8108.  
  8109. Other Disk Errors
  8110.  
  8111. File does not exist-  ProFile has attempted to use a file that it
  8112. thought was available and now is not.
  8113.  
  8114. File not open for input
  8115. File not open for output
  8116. File not open
  8117. Can't read from this file
  8118. Can't write to this file
  8119.  
  8120. The preceding  error messages  rarely occur.   Although they  are
  8121. ambiguous, they  usually appear when  the system  has disk  drive
  8122. problems.
  8123.  
  8124.  
  8125.  
  8126.  
  8127. ProFile                                          Appendix C   131
  8128.  
  8129.  
  8130. Record length mismatch
  8131. Seek beyond end of file
  8132. Unexpected end of file
  8133. File size overflow
  8134.  
  8135. These error messages  can occur when  a file has been  corrupted.
  8136. If you  receive this  message when ProFile  is trying to  use the
  8137. Index  file,  reindex the  database.   To  do so,  use  the Index
  8138. command on the Utilities Menu.
  8139.  
  8140.  
  8141. Directory is full
  8142.  
  8143. The disk drive directory is full  and cannot hold any more files.
  8144. To  solve this problem  delete any  unneeded files  or use  a new
  8145. disk.
  8146.  
  8147. File disappeared
  8148.  
  8149. The file that ProFile was using  is no longer on the disk.   Most
  8150. likely cause is that a system or data disk has been removed.
  8151.  
  8152. Problem with Printer
  8153.  
  8154. Check  that  the printer  is properly  connected  and that  it is
  8155. working properly.
  8156.  
  8157.  
  8158. Sort Error Messages
  8159.  
  8160. Sort work area too small
  8161.  
  8162. The sort function needs  at least 200  bytes of unused memory  to
  8163. work properly.   The recommended  system memory  is at least  320
  8164. KB.   If  you   have  plenty   of  memory,  check   and  see   if
  8165. memory-resident programs are using up too much of it.
  8166.  
  8167. Illegal Sort item length
  8168.  
  8169. If this error appears,  contact us as outlined in  the PF-READ.ME
  8170. file on the DOCUMENTATION disk.
  8171.  
  8172. Write error during sorting (disk bad or full)
  8173.  
  8174. The disk became full when sorting.   Try deleting unused files on
  8175. the disk or using a new disk for the database.
  8176.  
  8177. Read error during sorting (bad disk)
  8178.  
  8179. This indicates that  the disk is  bad.  Try copying the  database
  8180. files to a new disk or using the backup copy of the database.
  8181.  
  8182.  
  8183.  
  8184.  
  8185. Appendix C   132                                          ProFile
  8186.  
  8187.  
  8188.  
  8189. Impossible to create new file (directory full)
  8190.  
  8191. The disk directory  became full  when the  sort process  started.
  8192. Use a new disk or delete unused files.
  8193.  
  8194. Unknown I/O error
  8195.  
  8196. Something went wrong that ProFile could not pinpoint.
  8197.  
  8198.  
  8199. System Error Messages
  8200.  
  8201. Floating point overflow
  8202. Floating point division by zero
  8203. Negative Sqrt argument
  8204. Integer divide by zero or negative Ln argument
  8205.  
  8206. These problems  most likely  indicate internal program  problems.
  8207. Contact   us  as   outlined  in   the  PF-READ.ME  file   on  the
  8208. DOCUMENTATION DISK.
  8209.  
  8210. String index out of range
  8211. Array index out of range
  8212. Scaler or subrange assignment out of range
  8213. Integer assignment out of range
  8214.  
  8215.  
  8216. These errors usually appear  when an incorrect or corrupted  Form
  8217. Definition,  Report or  Label file  has been  loaded.  Check  the
  8218. circumstances of the  errors.  If they  happened when loading  or
  8219. using any of  the above files, try  using the backup copy  of the
  8220. database, etc.  If the problem does not recur, make a copy of the
  8221. backup disk and use this as the new original.
  8222.  
  8223.  
  8224.  
  8225.  
  8226.  
  8227.  
  8228.  
  8229.  
  8230.  
  8231.  
  8232.  
  8233.  
  8234.  
  8235.  
  8236.  
  8237.  
  8238.  
  8239.  
  8240.  
  8241.  
  8242.  
  8243. ProFile                                               Index   133
  8244.  
  8245.  
  8246. Index
  8247.  
  8248. $,   Information   Type       Column Widths  57
  8249.      24                       Comma Delimited  98
  8250. Add  34                       Comparison,   Selection
  8251. Add Data/Records  34               Spec  48
  8252. Add Field  118                Contains  49
  8253. AND  50                       Copy Data  105
  8254. ARCTAN  31                    Copy Data Options  105
  8255. Ascending Sort  72            Copy Database  105
  8256. ASCII Files  97               COS  31
  8257. ASCII Format                  Count  44
  8258.    Export  103                Create Data File  33
  8259.    Import  97                 Create Index File  33
  8260. Attributes-  See  Field       Cursor Keys  14
  8261.      Attributes  22           Cursor Movement
  8262. Backup  6, 111                   Form Design  14
  8263.    Problems  113              Data
  8264.    Restore     Database          Add  34
  8265.      112                         Deleted  41
  8266. Boxes, Form  18                  Merge  105
  8267. Bulk Mail Sort  74, 90           Share  3
  8268. Calculated Columns  61        Data  File   Definition
  8269. Calculated Fields   21,            12
  8270.      37                       Database
  8271.    Creating  29                  Backup  111
  8272. Calculation       Error          Change  116
  8273.      Messages  64                Copy  105
  8274. Change                           Error  129
  8275.    Field Length  118             Files  12
  8276. Change Database  116             Recovery  129
  8277. Change Field Type  119           Reorganizing  116
  8278. Change  Report   Design       Date
  8279.      76                          When  Adding Records
  8280. Column Break  74                   36
  8281. Column    Break     and          With  Selection Spec
  8282.      Subcalculation                52
  8283.      60                       Default Values  122
  8284. Column Break Field  74        Define            Field
  8285. Column Breaks  60                  Attributes  20
  8286. Column     Calculations       Delete
  8287.      59                          Global  110
  8288. Column  Detail,  Report          Record  44
  8289.      57                       Delete a Field  118
  8290. Column Headings  57           Delete Field  118
  8291. Column        Headings,       Delete            Field
  8292.      Report  65                    Informatino  107
  8293. Column    Justification       Descending Sort  72
  8294.      59                       Design a Database  10
  8295. Column Spacing  58            Disk Backup  111
  8296. Column too wide  59           Disk Error  128
  8297.  
  8298.  
  8299.  
  8300.  
  8301. Index   134                                               ProFile
  8302.  
  8303.  
  8304. Disk Full  128                   Prompts  16
  8305. Display Name  120             Field Attraibutes  25
  8306. Ditto  38                     Field Attributes  19
  8307. DIV 0  64                        Changing  117, 119
  8308. Drawing Boxes  18                Decimal  24
  8309. Edit                             Errors  32
  8310.    Add Data  35                  Help Line  25
  8311.    Delete Record  44             High  25
  8312.    Existing Record  42           Index  24
  8313.    First  44                     Length  23
  8314.    Function  40                  Low  25
  8315.    Go to  44                     Mask Type  22
  8316.    Index  45                     Must Fill  25
  8317.    Last  44                      Name  22
  8318.    Print Form  46                Required  25
  8319.    Select  45                    Uppercase  25
  8320. Edit   Existing   Label       Field Help  25
  8321.      92                       Field Identifiers  117
  8322. Edit  Existing   Report       Field Length  16
  8323.      76                          Maximum  16
  8324. END  51                       Field Name  10
  8325. Equal  48                     Field Names
  8326. Equal  or Greater  Than          Label  80
  8327.      49                       Field Type
  8328. Equal or Less Than  49           Change  119
  8329. ERR  64                          Lookup  26
  8330. Error                         Field Types  21
  8331.    Disk  128                     Calculated  29
  8332.    If you have  128           Fields
  8333.    Sort  131                     Stored  28
  8334.    System  132                Fields Attributes
  8335. Error Messages  128              Unique  25
  8336.    Report  64                 File
  8337. Errors                           ASCII  97, 103
  8338.    Disabled      Lookup          Extension  127
  8339.      Fields  33               File Manager  6
  8340.    Field Attributes  32          Error  132
  8341. Esc  12                          Subdirectory  6
  8342. EXP  31                       File Name
  8343. Export  103                      Label  78
  8344.    Floppy Disk  104              Report  54
  8345. Field  16                     Files
  8346.    Add  118                      Database  127
  8347.    Adding, Type Checked          Program  127
  8348.      36                       Filling Out Forms  34
  8349.    Calculated  29             First Record  44
  8350.    Change Length  118         Floppy Disks
  8351.    Date  36                      Backup  113
  8352.    Delete  118                Form  13
  8353.    Length  118                   Cursor Keys  14
  8354.    Moving  117                   Default Values  122
  8355.  
  8356.  
  8357.  
  8358.  
  8359. ProFile                                               Index   135
  8360.  
  8361.  
  8362.    Design Hints  31           Greater Than  48
  8363.    Display Name  120          Hard Disk  Installation
  8364.    Editing  117                    5
  8365.    Field Name  16             Hardware  4
  8366.    Layout  14                 Header/Footer,   Report
  8367.    Length  18                      70
  8368.    Modeling  13               Help
  8369.    Not Found  13                 Adding Records  38
  8370.    Planning  31                  Form  7
  8371.    Saving  30                    Function Keys  7
  8372. Form  Definition   File          Online  7
  8373.      12                       Help File  127
  8374. Form Design  10               High Range  25
  8375.    Boxes  18                  Import
  8376.    Calculated    Fields          Floppy Disk  97
  8377.      17                          Merge Spec  101
  8378.    Copy Line  18                 Options  99
  8379.    Cursor Movement  14           Overview  97
  8380.    Delete Line  18            Increment Field
  8381.    Errors  19                    Change Value  121
  8382.    Field Attributes  19       Increment  Field   Type
  8383.    Field Length  16                24
  8384.    Field Types  21            Index
  8385.    Function Keys  15             Edit Data  45
  8386.    Hints  31                  Index Field  24
  8387.    How to  12                 Index File
  8388.    Insert Line  18               Create  33
  8389.    Lookup Fields  17             Definition  12
  8390.    Model  13                     Error  131
  8391.    Prompts  16                Index File,  Corruption
  8392. Format                             110
  8393.    MailMerge  94              Index   the    Database
  8394. Formatting     Standard            110
  8395.      Labels  84               Information Blank  16
  8396. Formula  30                   Information Type  19
  8397. Formulas  29                  Initial Values  122
  8398. Formulas,  Report   29,       Invisible Columns  64
  8399.      63                       Justify
  8400. Free-Form Labels  83             Data  59
  8401.    Formatting  85                Heading  58
  8402. Function Keys                 Key Field  43
  8403.    Add Data  35               Label  78
  8404.    Ditto  38                     Create  79
  8405.    General  8                    Format  85
  8406.    Label  82                     Free-Form  83
  8407. Function, Report  30             Layout  80
  8408. Functions  31                    Length  87
  8409. Getting Started  3               Print  91
  8410. Global Delete  110               Print   Field  Names
  8411. Global Update  107                 88
  8412. Go to  44                        Redesign  92
  8413.  
  8414.  
  8415.  
  8416.  
  8417. Index   136                                               ProFile
  8418.  
  8419.  
  8420.    View Form  83              Numeric Fields  22
  8421. Label Alignment  91           One-Field-Per-Line  98
  8422. Label Size  79                Options Function  120
  8423. Label Text Length  85         OR  50
  8424. Last  44                      Pack the Database  111
  8425. Last Record  44               Package Contents  3
  8426. Less Than  49                 Page Break  74
  8427. LN  31                        Page   Length,   Report
  8428. LOG  31                            68
  8429. Lookup  26                    Parallel Printer  114
  8430.    Add data  37               Parentheses  30
  8431.    Disabled Fields  33        Path Name  113
  8432.    Field Attributes  28       Phone Field Type  23
  8433.    Lookup File Name  27       Power, Loss of  6
  8434.    Lookup  Match  Field       Precedence  30
  8435.      27                       Previous  43
  8436.    Lookup      Retrieve       Print
  8437.      Field  27                   Current Form  46
  8438.    Non-stored    Fields          Error  128
  8439.      28, 37                      Form, Add Data  38
  8440.    Search Field  27              Label  91
  8441.    Stored  28                    Report  76, 77
  8442. Lookup Fields  26             Printer Setup
  8443. MailMerge  3                     Label  86
  8444.    DEC  95                       Parallel  114
  8445.    MultiMate  95                 Serial  114
  8446.    Options  93                Program Files  127
  8447.    Overview  93               Range
  8448.    PC-Write  95                  Low  25
  8449.    WordPerfect  94            Range Checking  37
  8450.    Wordstar  94               Record  10
  8451. Mass Delete  110                 Count  44
  8452. Mass Update  107                 Deleted  41
  8453. Maximum   Record   Size          Go to  44
  8454.      32                          Total  41
  8455. Menu                          Remove Deleted  Records
  8456.    Edit  40                        111
  8457.    Report Layout  57          Reorganizing  116
  8458. Merge Data  105               Report
  8459. Merge Spec  101                  Add Column  57
  8460. Modeling a Form  Design          Calculated   Columns
  8461.      13                            61
  8462. Money Field Type  23             Calculations  59
  8463. Move Field  117                  Change  76
  8464. Moving a Field  117              Column Detail  57
  8465. MultiMate  94                    Column    Guidelines
  8466. Must Fill Fields  25               59
  8467. New Page, Report  69             Column Headings  65
  8468. Next  43                         Design  54
  8469. Not  48                          Format  65, 67
  8470. Not Equal  48                    Header/Footer  70
  8471.  
  8472.  
  8473.  
  8474.  
  8475. ProFile                                               Index   137
  8476.  
  8477.  
  8478.    Layout  55, 65             System  Error   Message
  8479.    Layout Menu  54                 132
  8480.    Overview  53               Text Fields  22
  8481.    Page Format  67            Top Line  12
  8482.    Print  76, 77              Unique Fields  25
  8483.    Subtotal Field  58         Update
  8484. Report Layout  67                Calcualted    Fields
  8485. Required Fields  25                107
  8486. Save                             Lookup Fields  107
  8487.    Label  84                  Update, Global  107
  8488.    Report  66                 Uppercase  25
  8489. Search  43                    Wordstar  94
  8490. Secondary Sort  72            Wrapped Columns  58
  8491. Selection Spec
  8492.    Comparison  48
  8493.    Create  47
  8494.    Currency  52
  8495.    Export  104
  8496.    Import  102
  8497.    Label  71, 88
  8498.    MailMerge  96
  8499.    OR, AND, END  50
  8500.    Report  71
  8501. Self        Referencing
  8502.      Columns  64
  8503. Serial Printer  114
  8504. Shareware  1
  8505. SIN  31
  8506. Social  Security  Field
  8507.      Type  23
  8508. Sort
  8509.    Bulk Mail  74, 90
  8510.    Column Break  74
  8511.    Error Messages  131
  8512.    Limits  74
  8513.    Memory Use  76
  8514.    Page Break  74
  8515.    Primary  72
  8516.    Secondary  72
  8517. Sort Spec
  8518.    Export  104
  8519.    Label  89
  8520.    MailMerge  96
  8521.    Report  71
  8522. Sort Spec Menu  73
  8523. SQR  31
  8524. SQRT  31
  8525. Standard  Data   Format
  8526.      97
  8527. Subcalculation  60
  8528. Subdirectory  6
  8529.  
  8530.