home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / DATABASE / DPROG131.ZIP / UGUIDE.DAT < prev    next >
Text File  |  1987-12-24  |  47KB  |  1,000 lines

  1. ..SK 15
  2. ..CE %%Sname Users Guide
  3.  
  4. ..CE %%Sdesc
  5.  
  6. ..CE Written by %%Pname on %%DATE
  7.  
  8. ..CE COPYRIGHT (C) %%Cdate by %%Cname
  9. ..HE %%Sname Users Guide
  10. ..PG
  11. ..CE WELCOME
  12.  
  13. ..JN
  14. Welcome to your new system.  This system will allow you to add new
  15. %%RecDescA.s, change existing %%RecDescA.s, produce reports and labels
  16. from your %%FileDescA, output %%RecDescA.s to the mail merge function
  17. of various word processors and more.
  18.  
  19. ..CE STARTING YOUR SYSTEM
  20.  
  21. To start the system you must first start dBase.  The procedure differs
  22. if your computer has a hard disk or two floppies.  Follow the procedure
  23. below for the type of computer you have.
  24.  
  25. ..CE FLOPPY SYSTEM
  26.  
  27. If your computer has 2 floppies and no hard disk, put your dBase III+ system
  28. diskette 1 into drive "A" and type DBASE. The disk drive light will come on
  29. and dBase will start loading.  After a few moments, you will be asked to
  30. replace system disk 1 with system disk 2.  Take system disk 1 out of the "A"
  31. drive and put it away.  Put the dBase system disk 2 into the "A" drive and
  32. press enter.  dBase will finish loading.
  33.  
  34. The dBase assistant will start.  Press the Esc key to exit from the
  35. assistant.  You will now be at the 'dot prompt'.  Place the disk containing
  36. your new %%Sname system in the "B" drive.  Type 'SET DEFAULT TO B:'
  37. and press return.  Type 'DO %%Sname' and press carriage return to
  38. start the %%Sname system. The main menu of the %%Sname system
  39. now displays.
  40.  
  41. ..CE HARD DISK SYSTEM
  42.  
  43. If you have a hard disk change to the directory containing dBase and type
  44. DBASE.  dBase will start loading.
  45.  
  46. The dBase assistant will start.  Press the Esc key to exit from the
  47. assistant.  You will now be at the 'dot prompt'.
  48.  
  49. If you wish to run your new %%Sname system from floppies, place the
  50. disk containing your new %%Sname system in the "B" drive.
  51. Type 'SET DEFAULT TO B:' and press return.  Type 'DO %%Sname' and
  52. press carriage return to start the %%Sname system. The main menu
  53. of the %%Sname system now displays.
  54.  
  55. If you wish to run your new %%Sname system from the hard disk,
  56. type 'SET PATH TO C:\path' where 'path' is the subdirectory which contains
  57. your %%Sname system and press return.  Type 'DO %%Sname' and
  58. press carriage return to start the %%Sname system. The main menu
  59. of the %%Sname system now displays.
  60.  
  61. ..PG
  62. ..CE THE MAIN MENU
  63. ..JF
  64. ............................................................................
  65. .                               Main Menu
  66. ............................................................................
  67. .
  68. .                A - Add new %%RecDescA.s
  69. .                U - Update, Edit, Scan, Find %%RecDescA.s
  70. .                R - Generate Reports from your %%FileDescA
  71. .                L - Print Labels from your %%FileDescA
  72. .                M - Generate a Mail Merge file from your %%FileDescA
  73. .                I - Rebuild the Index to your %%FileDescA
  74. .                P - Remove Deleted records from your %%FileDescA
  75. .                S - Define Report/Label/Mail Merge sort/select
  76. .                Q - Quit to DOS
  77. .                D - Exit to dBase
  78. .
  79. .                Please choose one of the above options
  80. .
  81. ............................................................................
  82. ..JN
  83.  
  84. The main menu allows you to select which function you wish to perform on
  85. your data.  Your choices are:
  86.  
  87. ..CE A
  88.  
  89. This choice allows you to add %%RecDescA.s to your %%filedesca..
  90.  
  91. ..CE U
  92.  
  93. This selection allows you to update (or edit) existing %%RecDescA.s,
  94. look at %%RecDescA.s on the %%FileDescA, find %%RecDescA.s by key, find
  95. %%RecDescA.s by data contained in any field on the %%FileDescA,
  96. print a given %%RecDescA.s, and delete or recall (undelete)
  97. %%RecDescA.s.
  98.  
  99. ..CE S
  100.  
  101. This feature allows you to describe the order and selection criteria
  102. for reports, labels, and mail merge functions. You can also describe
  103. default report/label forms for a given sort select sequence and
  104. create/modify report and label forms.
  105.  
  106. ..PG
  107. ..CE M
  108.  
  109. This option allows you to export data from your %%FileDescA to the
  110. mail merge function of various word processors.  You can also select
  111. which %%RecDescA.s will be exported to the word processor, and in what
  112. order they will be output.
  113.  
  114. ..CE R
  115.  
  116. Generate reports from the %%FileDescA.  This option in conjunction with
  117. the dBase REPORT verb allows you to extend the reporting capability by
  118. allowing you to specify which way the %%FileDescA should be sorted and
  119. which %%RecDescA should be selected for the report.
  120.  
  121. ..CE L
  122.  
  123. Generate labels from the %%FileDescA.  This option in conjunction with
  124. the dBase LABEL verb allows you to extend the reporting capability by
  125. allowing you to specify which way the %%FileDescA should be sorted and
  126. which %%RecDescA.s should be selected for the labels.
  127.  
  128. ..CE I
  129.  
  130. This function allows you to rebuild the index of the %%FileDescA if the
  131. index becomes damaged.
  132.  
  133. ..CE Q
  134.  
  135. Closes the %%FileDescA and exits to DOS.
  136.  
  137. ..CE D
  138.  
  139. Exits to dBase to allow you to examine the %%FileDescA using dBase.
  140.  
  141. ..CE Adding %%RecDescA.s
  142.  
  143. The Add screen (see below) allows you to add new %%RecDescA.s to your
  144. %%FileDescA..
  145.  
  146. ..JF
  147. ..GF
  148. ..JN
  149.  
  150. Fill in the fields on the screen and press enter.  When the last field
  151. on the screen is filled in, the %%RecDescA.s will automatically be
  152. added to the %%FileDescA..
  153. ..BK
  154. If you wish to not have to fill in all fields, you may shorten the add
  155. process by pressing Ctrl End after filling in the fields you wish.  This
  156. will cause the %%RecDescA to be added with the remaining fields blank
  157. (or initialized to the values shown on the screen).
  158. ..BK
  159. To exit the add screen, press Ctrl End without filling in any of the fields
  160. on the screen.  This will exit the add screen and return to the main menu.
  161. ..PG
  162. The above screen contains the following fields:
  163.  
  164. ..JF
  165. ..FS
  166. ..JN
  167. ..PG
  168. ..CE The Update function - Browsing Your %%FileDescA
  169.  
  170. From the main menu if you press U, you will enter the update section of
  171. the system.  One of the functions this section allows is the viewing of
  172. %%RecDescA.s on your %%FileDescA.. You can go to the first %%RecDescA,
  173. the last %%RecDescA, the next %%RecDescA, the previous %%RecDescA,
  174. find by index, or search for some specific data within a field on the
  175. %%FileDescA.
  176.  
  177. ..CE T - First %%RecDescA.
  178.  
  179. You can go to the first %%RecDescA on the %%FileDescA by pressing T (for top).
  180. This causes the first %%RecDescA on the %%FileDescA, or if the %%FileDescA
  181. is indexed (kept in order by a key) the lowest index value (key) to be
  182. displayed.
  183.  
  184. ..CE N - Next %%RecDescA.
  185.  
  186. You can go to the next %%RecDescA on the %%FileDescA by pressing N (for next).
  187. This shows the next %%RecDescA on the %%FileDescA, or if indexed the next highest
  188. index value, to be displayed.  If you are at the end of the %%FileDescA (or the
  189. highest index value), the N function will not cause any movement.
  190.  
  191. ..CE B - Bottom %%RecDescA.
  192.  
  193. You can go to the last %%RecDescA on the %%FileDescA by pressing B (for bottom).
  194. This causes the last %%RecDescA on the %%FileDescA, or if indexed the highest
  195. index value, to be displayed.
  196.  
  197. ..CE P - Previous %%RecDescA.
  198.  
  199. You can go to the previous %%RecDescA on the %%FileDescA by pressing P (for
  200. previous). This shows the previous %%RecDescA on the %%FileDescA, or if indexed
  201. the next lowest index value to be displayed.  If you are at the beginning
  202. of the %%FileDescA (or the lowest index value), the P function will not cause any
  203. movement.
  204.  
  205. ..CE F - Find by index
  206.  
  207. This function allows you to find a %%RecDescA on your database using the
  208. index of the %%FileDescA.  This function only works if your %%FileDescA
  209. is indexed.  To use this function type F.  The fields on which the
  210. %%FileDescA is indexed opens to allow you to enter the values you wish
  211. to search on.  Please note that for character fields, upper and lower
  212. case matter, if the case is wrong you will not find the %%RecDescA
  213. you are searching for.  Fill in the values and press return.  If the
  214. %%RecDescA is found it is displayed.  If the %%RecDescA is not found
  215. a message is printed on the bottom line of the screen.
  216. ..JF
  217. ..IS
  218. ..PG
  219. ..CE S - Set a filter
  220.  
  221. ..JN
  222. This function allows you to limit the display of %%RecDescA.s on
  223. your %%FileDescA by searching any field in the %%FileDescA using
  224. standard dBase conditional testing.  To use this function just type S.
  225. A line opens on the bottom to allow you to enter the filter conditions.
  226. Once you have set a filter, all other actions while updating are based
  227. on the filter condition you have set.  Thus if you go to the top of the
  228. %%FileDescA you will really go to the first %%RecDescA which
  229. matches the filter condition, not the first %%RecDescA in the
  230. %%FileDescA.
  231.  
  232. All conditions must be made up of valid field names, dBase functions, and
  233. literals.  If the condition is invalid an error will occur. When an error
  234. occurs, just press I to ignore it and re-try the condition again.
  235. Below are some examples of the type of conditions you can enter and the
  236. action they perform.
  237.  
  238. ..JF
  239. ZIP = '19130'
  240.    Show only %%RecDescA.s which have the field ZIP equal to '19130'. This
  241.    example assumes that ZIP is a character field.  Notice the quotes
  242.    around 19130.  All tests against characters must have the literal
  243.    contained within quotes.
  244.  
  245. ZIP = 19130
  246.    Show only %%RecDescA.s which have the field ZIP equal to 19130. This
  247.    example assumes that ZIP is a numeric field.  Notice the lack of quotes
  248.    around the 19130 literal.
  249.  
  250. ZIP <> 19130
  251.    Show only %%RecDescA.s which have the field ZIP not equal to 19130. This
  252.    example again assumes that ZIP is a numeric field.
  253.  
  254. ZIP = 19130 .OR. ZIP = 19131
  255.    Only show %%RecDescA.s which have the field ZIP equal to either 19130 or
  256.    19131.  Again zip is a numeric field.  Notice the logical function .OR.
  257.    use above.  This compounds the condition to require that either of the
  258.    simple conditions must be true for the %%RecDescA to be displayed.
  259.  
  260. ZIP >= '19130' .AND. ZIP <= '19139'
  261.    Only show %%RecDescA.s which have the field ZIP in the range '19130' to
  262.    '19139'.  Zip is a character field.  Notice the logical function .AND.
  263.    use above.  This compounds the condition to require that both of the
  264.    simple conditions must be true for the %%RecDescA to be displayed.
  265.  
  266. "Box"$Add1
  267.    Only show %%RecDescA.s which have the field Add1 containing the literal
  268.    "Box" contained somewhere within it.  This demonstrates the dBase search
  269.    function $.  To search a character field X for a character literal "?"
  270.    you would type "?"$X.
  271.  
  272. RECNO() > 100
  273.    Only show %%RecDescA.s which have record numbers more than 100.  This
  274.    condition excludes the first 100 records from sight.
  275.  
  276. ..PG
  277. Below is a list of the fields on your %%FileDescA:
  278.  
  279. ..FS
  280. ..PG
  281. ..JN
  282. ..CE The Update Function - Other Uses
  283.  
  284. In addition to browsing your data, you may delete and recall (undelete),
  285. print, and edit (change) the %%RecDescA displayed on the screen.  You
  286. may also return to the main menu.
  287.  
  288. ..CE D - Deleting and undeleting %%RecDescA.
  289.  
  290. The D function deletes %%RecDescA..  If the %%RecDescA is already
  291. deleted, it will be recalled (undeleted).  %%RecDescA.s deleted this
  292. way are not removed from the %%FileDescA.s until you specify the
  293. P (PACK) option from the main menu.
  294.  
  295. ..CE E - Edit
  296.  
  297. The E function allows you to change the content of the fields within the
  298. %%RecDescA displayed on the screen.  When you type E, all the fields
  299. open to allow data to be changed.  Change any fields you wish.  When you
  300. leave the last field the data is stored on the %%FileDescA.  You can speed up
  301. this process by pressing Ctrl End after you change the field(s) you wish to
  302. modify.
  303.  
  304. ..CE L - List the %%RecDescA
  305.  
  306. The L function will list the data portions of the %%RecDescA on the
  307. screen to the printer. You must have your printer on and ready for this
  308. function to work.
  309.  
  310. ..CE Q - Quit
  311.  
  312. The Q function quits the update section and returns to the main menu.
  313. ..PG
  314. ..CE Defining Sort/Select Criteria
  315.  
  316. From the main menu, pressing S will allow you to modify the sort/select
  317. database.  A new menu appears.  To add new sort/select criteria type A, to
  318. change existing sort/select criteria type U.  To create or modify a
  319. dBase report form, type R.  To create or modify a dBase label form, type L.
  320.  
  321. ..CE Creating a new Sort/Select Criteria
  322.  
  323. Press A.  A screen for the sort/select database appears. See below.
  324. ..JF
  325.  
  326. ............................................................................
  327. .                    Sort/Select Definition File                           .
  328. ............................................................................
  329. . Sort Name:   ________   Sorted File Name: ________   Form Name: ________ .
  330. . Description: ___________________________________________________________ .
  331. ............................................................................
  332. .                         Selection Criteria                               .
  333. . ________________________________________________________________________ .
  334. ............................................................................
  335. .                            SORT FIELDS                                   .
  336. ............................................................................
  337. .                        Field Name     Order                              .
  338. .                      1)  _______        _                                .
  339. .                      2)  _______        _                                .
  340. .                      3)  _______        _                                .
  341. .                      4)  _______        _                                .
  342. .                      5)  _______        _                                .
  343. .                      6)  _______        _                                .
  344. .                      7)  _______        _                                .
  345. .                      8)  _______        _                                .
  346. .                      9)  _______        _                                .
  347. .                     10)  _______        _                                .
  348. ............................................................................
  349. ..JN
  350.  
  351. This screen allows you to define a set of sort fields and selection criteria
  352. for reports, labels, and mail merge functions.  Generally one report or
  353. label form will suffice for many different selections.
  354. ..BK
  355. Rather than needing to specify the criteria each time you wish to print
  356. reports or labels, you may save them in this file.  For example, if your
  357. database contained customer names and addresses and you wish to send out
  358. mailings for customers who have spent more than $5000.00 sorted by zipcode
  359. (for bulk mailing) you could create a sort selection called GOODCUST which
  360. has a selection criteria of SALES > 5000 and the first sort field name would
  361. be ZIPCODE.
  362.  
  363. ..PG
  364. ..JF
  365. The fields on this screen are:
  366.  
  367. Field Name         Description
  368.  
  369. SORT NAME          The name of this sort/select criteria.  When you print
  370.                    a report, label, or mail merge file, this is the name
  371.                    you would specify.
  372.  
  373. SORTED FILE NAME   The name of the file which will be used to hold the
  374.                    records from your database which meet your selection
  375.                    criteria.  This file is in sorted order.  The default
  376.                    name is SORTWORK.
  377.  
  378. FORM NAME          For label or report processing, this is the name of the
  379.                    DBASE REPORT FORM or LABEL FORM that will be used when
  380.                    you choose this sort/select criteria.
  381.  
  382. DESCRIPTION        An human readable description of what this sort/select
  383.                    criteria is for.
  384.  
  385. SELECTION CRITERIA A dBase condition which selects the records for you need
  386.                    from your database.  For an explanation of dBase
  387.                    conditions, refer to the dBase programmers guide or look
  388.                    at the section on filters within this manual.
  389.  
  390. SORT FIELDS        A list of the fields to sort on and if they should be
  391.                    sorted in Ascending or Descending order.
  392.  
  393. 1) FIELD NAME      The name of sort field number 1.  The primary sort field.
  394.                    The file will be sorted into this order and than within
  395.                    this by other specified fields.
  396.    ORDER           A for ascending or D for descending.  The default is A.
  397.  
  398. 2) FIELD NAME      The name of sort field number 2.  The secondary sort
  399.                    field order.  The file will first be sorted into order
  400.                    by 1) FIELD NAME and within that sort by this field.
  401.    ORDER           A for ascending or D for descending.  The default is A.
  402.    .
  403.    .
  404.    .
  405. 10) FIELD NAME     The least important sort order field.  The file will be
  406.                    in order by the prior 9 sort fields and then finally
  407.                    sorted into minor order by this field
  408.     ORDER          A for ascending or D for descending.  The default is A.
  409. ..PG
  410. ..CE UPDATING SORT/SELECT CRITERIA
  411.  
  412. You may update sort/select criteria the same as you would update records on
  413. your database.  For more details see the section on updating records earlier
  414. in this document.
  415.  
  416. ..CE Creating Report Forms
  417.  
  418. From the criteria main menu, pressing option R allows you to create or update
  419. a dBase REPORT FORM.  Press R and you are asked for the name of the report
  420. you wish to work on.  Type in the name of an existing report you wish to modify
  421. or give a new name for a report you wish to create.  The DBASE III report
  422. screen appears.  See the Appendix C below or your dBase Manual on REPORT
  423. generation for more information on how to build reports.  When you exit the
  424. report generator, you will return to the criteria main menu.
  425.  
  426. ..CE Creating Label Forms
  427.  
  428. From the criteria main menu, pressing option L allows you to create or
  429. update a dBase LABEL FORM.  Press L and you are asked for the name of the
  430. label you wish to work on.  Type in the name of an existing label you wish
  431. to modify or give a new name for a label you wish to create.  The DBASE III
  432. label screen appears.  See the Appendix D below or your dBase Manual on
  433. LABEL generation for more information on how to build labels.  When you exit
  434. the label generator, you will return to the criteria main menu.
  435.  
  436. ..CE Returning to your application
  437.  
  438. From the criteria main menu, pressing option D will return you to your
  439. application main menu.
  440. ..PG
  441. ..CE Mail Merge
  442.  
  443. From the main menu, option M will cause the Mail Merge function to start.
  444. When you type M the output definition screen (see below) appears.
  445. ..JF
  446.  
  447. ............................................................................
  448. .                     Output Definition Screen                             .
  449. ............................................................................
  450. .                                                                          .
  451. . Output to: PRINTER                                                       .
  452. .            CONSOLE                                                       .
  453. .            DISK    Y   Disk File Name: ____________                      .
  454. .                                                                          .
  455. . Sort Name : ________                                                     .
  456. .                                                                          .
  457. . Word Processor: ________                                                 .
  458. .                                                                          .
  459. .                                                                          .
  460. .                                                                          .
  461. .                                                                          .
  462. .                                                                          .
  463. .                                                                          .
  464. .                                                                          .
  465. .                                                                          .
  466. .                                                                          .
  467. .                                                                          .
  468. .                                                                          .
  469. ............................................................................
  470. ..JN
  471.  
  472. You need to specify three things on this screen.  The disk file name (no
  473. extension please) for the output mail merge file, the sort/select criteria
  474. name and the type of word processor (version 1.0 only supports WordStar and
  475. Microsoft Word).
  476.  
  477. The disk file name is the name of the disk file(s) created for input to
  478. your word processor.  It can be a combination of a drive specification (A:,
  479. B:, C:) and a file name with no extension.  WordStar output creates two files,
  480. a '.DAT' and a '.DOC' file.  Microsoft Word creates only a '.DOC' file.
  481.  
  482. The sort/select criteria name is the name a criteria on the sort/select file
  483. (see previous section) that describes what records and how they are to be
  484. sorted.  This criteria must have been defined prior to using the mailmerge
  485. function.  If you wish all records in the current file order, specify NOSORT.
  486. The Word processor type is the name of the word processor that you wish the
  487. data to be output for.  Version 1.0 only supports WordStar (WORDSTAR) and
  488. Microsoft Word (MSWORD).  Version 2.0 and above creates mail merge files for
  489. these and Word Perfect, Display Write, and MultiMate, and several other word
  490. processors.
  491.  
  492. Once you have specified all of the parameters correctly, the mail merge
  493. function will start.  After the disk file(s) are created, you return to the
  494. main menu.
  495. ..PG
  496. ..CE Reports and Labels
  497.  
  498. From the main menu, options R and L will cause the Report or Label function
  499. to start.  When you type R or S the output definition screen (see below)
  500. appears.
  501.  
  502. ..JF
  503. ............................................................................
  504. .                         Output Definition Screen                         .
  505. ............................................................................
  506. .                                                                          .
  507. . Output to: PRINTER N                                                     .
  508. .            CONSOLE Y                                                     .
  509. .            DISK    N   Disk File Name: ____________                      .
  510. .                                                                          .
  511. . Sort Name : ________                                                     .
  512. .                                                                          .
  513. . Word Processor:                                                          .
  514. .                                                                          .
  515. .                                                                          .
  516. .                                                                          .
  517. .                                                                          .
  518. .                                                                          .
  519. .                                                                          .
  520. .                                                                          .
  521. .                                                                          .
  522. .                                                                          .
  523. .                                                                          .
  524. .                                                                          .
  525. ............................................................................
  526. ..JN
  527.  
  528. You need to specify three things on this screen.  The output device
  529. (printer, console, or Disk, the sort/select criteria name, and optionally
  530. the disk file name for the output report or labels.
  531.  
  532. Put a Y next to the type of output device (Printer, Console, or disk) you
  533. wish to have the report or labels sent to.  You can choose only one output
  534. device. In addition, if you specify disk you must give the disk file name
  535. for the output report or labels.
  536.  
  537. The sort/select criteria name is the name a criteria on the sort/select
  538. file (see previous section) that describes what records and how they are
  539. to be sorted.  This criteria must have been defined prior to using the R
  540. or L functions.  If you wish all records in the current file order, specify
  541. NOSORT.
  542.  
  543. Once you have specified all of the parameters correctly, the report or
  544. label function will start printing.  After the disk file(s) are created,
  545. you return to the main menu.
  546. ..PG
  547. ..CE Rebuilding your index
  548.  
  549. The I option of the main menu allows you rebuild the index of your
  550. %%FileDescA.. Sometimes there are problems with your %%FileDescA where
  551. you cannot find %%RecDescA using the update function that appear on
  552. reports.  This indicates a damaged index.  If this problem occurs (this
  553. is a DBASE problem, not problem with your system) rebuild your index.
  554. After the index is rebuilt you are returned to the main menu.
  555.  
  556. ..CE Packing your database
  557.  
  558. When you issue the delete command from the update screen, the %%RecDescA
  559. is marked as deleted but still remains on your %%FileDescA..  To
  560. permanently remove all %%RecDescA on you database which have been
  561. deleted, you must PACK your database. By pressing P from the main menu,
  562. the %%RecDescA.s you have deleted will be removed forever.  When done,
  563. the main menu returns.
  564.  
  565. ..CE Quitting to dBase
  566.  
  567. By pressing D from the main menu, you are returned to DBASE.  All files are
  568. closed before exiting.  You may than do whatever you wish using native DBASE.
  569. If you type D by accident, type 'DO %%SNAME' to restart your system.
  570.  
  571. ..CE Quitting to DOS
  572. By pressing Q from the main menu, you are returned to DOS.
  573. ..PG
  574. ..SK 15
  575. ..CE %%Sname Users Guide
  576.  
  577. ..CE APPENDIX A
  578.  
  579. ..CE Definitions
  580. ..PG
  581. ..JF
  582. Byte
  583.      A position in the computers memory or on a file which can hold
  584.      one character of data.
  585.  
  586. Dot Prompt
  587.      Once dBase has been started, the command line where you enter commands.
  588.  
  589. Field
  590.      An area which is used for a particular category of data.  For
  591.      example a group of positions (bytes) on a file used to represent
  592.      a salary or a group of positions which represents a persons last
  593.      name.
  594.  
  595. File
  596.      A collection of related records which are treated as a unit.  Thus
  597.      in a membership list file a group of fields such as name, address,
  598.      city, state, and zipcode are grouped together into a record.  A
  599.      complete set of these records would form a membership file.
  600.  
  601. Index
  602.      A file which contains the keys of records and their locations on a
  603.      main data file.  This index file can be thought of like a card
  604.      catalog in a library.  To find a given book (record in the data file),
  605.      you would look up the title of the book (key) in card catalog
  606.      (index).  Once you have found the book title (key) in the catalog
  607.      (index), the card (index record) would contain the location of the
  608.      book (data record) on the shelf (main data file).
  609.  
  610. Key
  611.      The key to a database is the field or fields in which the file is
  612.      kept in order.  For example, if a file is kept in order by last name,
  613.      first name, and middle initial the file is keyed by these fields.
  614.  
  615.  
  616. Literal
  617.      A string of bytes which describe the contents of a field.  For example
  618.      the name 'HEARN', the zip code '19130', the salary 930.25, or the
  619.      logical literal .T.  There are three types of literals; character
  620.      literals, numeric literals, and logical literals.  Character literals
  621.      are always enclosed in quotes.  Numeric literals are a string of
  622.      string of numbers, decimal point and positive or negative signs.
  623.      Logical literals are Yes/No switches.  There are two logical literals
  624.      .T. and .F. which indicate true and false.
  625.  
  626. Mail Merge
  627.      Most word processors allow a function called Mail Merge.  This allows
  628.      you to customize letters with data contained in a file.  Thus, you
  629.      may insert things like name and salary in a letter for a job offer
  630.      to various applicants.
  631.  
  632. ..PG
  633. ..SK 15
  634. ..CE %%Sname Users Guide
  635.  
  636. ..CE APPENDIX B
  637.  
  638. ..CE Field Definitions
  639. ..PG
  640. ..FI
  641.  
  642. ..PG
  643. ..SK 15
  644. ..CE %%Sname Users Guide
  645.  
  646. ..CE APPENDIX C
  647.  
  648. ..CE Reports
  649.  
  650.  
  651.  
  652. ..PG
  653.  
  654. You may create your reports from either the dBase "dot prompt" or from
  655. within your system.  The setup methods change depending on which method you
  656. choose, but once the report screen is displaied, the creation or modification
  657. of the report is the same.
  658.  
  659. ..CE From the "dot prompt"
  660.  
  661. Type 'USE %%FILEA' and press enter if your %%FileDescA is not indexed.
  662. Type 'USE %%FILEA INDEX %%INDEXA' and press enter if your %%FileDescA is
  663. indexed.
  664. Now type 'MODIFY REPORT name' where name is the name of an existing report
  665. you wish to modify or the name of a new report you wish to create.  The
  666. dBase report screen will appear.
  667.  
  668. ..CE From the Sort/Selection menu
  669.  
  670. When you choose option R from the Sort/Selection menu, you will be asked for
  671. the name of the report you wish to create or modify.  Type this name and
  672. press enter.  The dBase report screen will appear.
  673.  
  674. ..CE Creating or Modifying Reports
  675.  
  676. The report generator appears on the screen.  Looking at the screen, you will
  677. notice various menus across the top.  They are labeled: Options, Groups,
  678. Columns, Locate, and Exit.  You may move to the various menus by pressing
  679. the right and left arrow keys.  The up and down arrow keys move the highlight
  680. within the pull-down menus.  To select the currently highlighted menu item,
  681. press the Return or Enter key.  Below is a description of each of the menus.
  682.  
  683. ..CE The Option Menu
  684.  
  685. This is the first and leftmost menu.  The Option menu contains various options
  686. for page layout.  The option menu allows you to change the Title of the report,
  687. the right and left margins, and number of lines per page.  You can also
  688. specify if the report should be printed double spaced, if there should be a
  689. page eject before or after printing the report, and if the title should be
  690. printed. Normally, you would only set the Title option on this menu.
  691.  
  692. Title
  693.    To change the title, move the highlight to the page title option and press
  694.    return.  A box appears to allow you to give the page title.  After you
  695.    have typed the title, press Ctrl-End to close the box and change the title.
  696. Page Width
  697.    The page width option allows you to specify the width in positions of the
  698.    paper in your printer.  The default is 80 and this is what you want for
  699.    most printers.  If you have a wide carriage printer you can change this
  700.    value to 132.  If you are using special forms with a non standard width
  701.    measure the paper and multiply the page with (in inches) by 10 to
  702.    calculate this number.  To change this option point the highlight here
  703.    and press return.  Type the new value and press return again.
  704. ..PG
  705. Left margin
  706.    This option allows you to specify how many positions from the left you
  707.    wish printing to begin at.  This allows you to specify a margin for
  708.    neatness or to allow hole punching in the report.  The default is 8
  709.    positions (4/5 inch) but you may change it.  To change this option, point
  710.    the highlight here and press return.  Type the new value and press return
  711.    again.
  712. Right margin
  713.    This option allows you to specify how many positions from the right you
  714.    wish printing to stop at.  This allows you to specify a margin for
  715.    neatness.  The default is 0 positions but you may change it.  To change
  716.    this option, point the highlight here and press return.  Type the new
  717.    value and press return again.
  718. Lines per page
  719.    This option is the number of lines of the report will be printed before
  720.    skipping to the top of another page.  The default is 58 lines.  This
  721.    leaves a top and bottom margin of 4 lines (2/3 of an inch) each.  If you
  722.    use standard size paper it is 11 inches long.  Most printers print at 6
  723.    lines per inch (as a default).  6x11 = 66 lines per page.  To change this
  724.    option, point the highlight here and press return.  Type the new value
  725.    and press return again.
  726. Double space report
  727.    This allows you to specify that a blank line should be printed after each
  728.    report line, causing the report to be double spaced.  The default is NO
  729.    which causes the report to be single spaced.  To change this option,
  730.    point the highlight here and press return.  Press the space bar to
  731.    alternate between Yes and No.  When the option is selected press return
  732.    again.
  733. Page eject before printing.
  734.    This option causes an eject to the top of a new page before printing the
  735.    report.  The default is YES which insures that you will start on a new
  736.    page.  To change this option, point the highlight here and press return.
  737.    By pressing the return key you alternate between Yes and No.
  738. Page eject after printing.
  739.    This option causes an eject to the top of a new page after printing the
  740.    report.  The default is NO.  If you are using a laser printer, you should
  741.    change this option to YES.  To change this option, point the highlight
  742.    here and press return. By pressing the return key you alternate between
  743.    Yes and No.
  744. Plain Paper
  745.    This option suppresses the date and page number at the top of a report.
  746.    The default is NO which indicates that the date and page number should
  747.    be printed.  To change this option, point the highlight here and press
  748.    return. By pressing the return key you alternate between Yes and No.
  749.  
  750. ..PG
  751. ..CE The Groups Menu
  752.  
  753. The Group option, the second menu on the screen, allows you to group data on
  754. the report for subtotals and subsubtotals.  An important thing to remember
  755. is that in order for the group options to work, the file must be in the same
  756. order as the grouping you specify.  If you file is kept in some other order,
  757. you should specify a sort/selection criteria (see earlier in this manual) to
  758. place your file into the correct order before printing the report.
  759.  
  760. Group on Expression
  761.    The first option on this menu is the "Group on expression" option.  This
  762.    represents the first level of grouping and must be the first listed sort
  763.    field in the index or in the sort/select criteria menu.
  764. Group Heading
  765.    The second option on this menu is the "Group Heading" option.  This
  766.    option allows you to give a header to the subtotal that is printed.
  767. Summary Report Only
  768.    The third option on this menu is the "Summary report only" option.
  769.    This option specifies whether all data or only subtotals are printed.
  770.    If you leave this option at no, all data is printed.  If you set this
  771.    option to yes, only totals are printed.
  772. Page eject after group.
  773.    The next option is "Page eject after group".  This allows you to cause
  774.    page breaks after each group.  If you change this option to yes, each
  775.    group will start on a new page.  You should NOT specify yes if you have
  776.    said yes to the summary report only (above) option.  Doing so would cause
  777.    one line per page to be printed.  To change this option, point the
  778.    highlight here and press return. By pressing the return key you alternate
  779.    between Yes and No.
  780. Sub-group on expression
  781.    The "Sub-group on expression" option allows you to cause another level of
  782.    totals.  If you wished your report to be broken into companies and within
  783.    that by departments, the main group would be company and the sub-group
  784.    would be department.
  785. Sub-group heading
  786.    The "Sub-group heading" allows you to specify the heading for this
  787.    grouping.
  788.  
  789. ..CE Putting columns on your report
  790.  
  791. The Columns menu allows you to place field values into columns on your
  792. report, specify headings for the columns, modify the default width of a
  793. column, specify the number of decimal positions for numeric data and whether
  794. this column should be totaled.  To enter data into the options on this menu,
  795. you point at the option, press enter, type the data, and press enter again
  796. to save the data.  After you finish filling in the options for one column
  797. you switch to the next column by pressing the PgDn key.  To back up to a
  798. column you have already filled in, press PgUp.  If you wish to delete a
  799. column use PgUp and PgDn to find the correct column and than press Ctrl-U
  800. to delete the column.  If you wish to insert a new column between two other
  801. columns position using PgUp and PgDn to the column you wish to insert a new
  802. column before and press Ctrl-N to insert a new column.
  803. ..PG
  804. Contents
  805.    To specify the contents of a column, you point the highlight at the
  806.    contents option and press enter.  You can now type the field name for
  807.    this column or press F10 to see a list of field names.  If you press F10
  808.    for the list of field names, you would select a field by using the up and
  809.    down arrow keys to highlight the field you wish to choose and than press
  810.    return.
  811. Heading
  812.    Next you would select the "Heading" option.  Point the highlight at the
  813.    "Heading" option and press return.  A small box appears for you to fill
  814.    in a heading.  Type in the heading you wish to use for this column and
  815.    press Ctrl-End to save this value.  If you wish to have a two line header,
  816.    type a semicolon between the two lines.  Thus, if you were to type
  817.    "Dept No"  this would appear on one line.  If you were to type "Dept;No"
  818.    it would appear on two lines with Dept above No. Once you have typed in
  819.    the header and pressed Ctrl-End to save it, the report generator fills in
  820.    the "Width" option based on the larger of the field size or the heading
  821.    size.
  822.    Notice in the "Report Format" box at the bottom of the screen shows the
  823.    column heading and a series of characters beneath the column heading to
  824.    show you how the columns have been laid out so far.  The characters below
  825.    the heading vary depending on the type of the field.  If the field type
  826.    was numeric, a series of #'s show the width of the column.  If the field
  827.    was character a series of X's show.  If the field was a memo field a
  828.    series of M's appear.  If the field was a date field, MM/DD/YY appears
  829.    on the screen.  For logical fields, .L. appears.
  830. Width
  831.    This is the size of the column in which the data will be placed.  It is
  832.    automatically set when you specify the contents and heading options.  It
  833.    is set to the maximum of the size of the data field or the size of the
  834.    heading to be printed.  You may override this field by pressing return,
  835.    typing in a new size, and pressing return again.
  836. Decimal Positions.
  837.    For numeric fields you may specify the number of decimal positions to be
  838.    shown on the screen.  The default is zero and may be changed.  You may
  839.    change this field by pressing return, typing in a new size, and pressing
  840.    return again.
  841. Total this column.
  842.    If set to Yes, this option causes the column to be totaled and printed
  843.    at the end of the report.  You can only set this option for numeric
  844.    fields.  To change this option, point the highlight here and press return.
  845.    By pressing the return key you alternate between Yes and No.
  846.  
  847. ..CE Locate - Moving to a specific column
  848.  
  849. The Locate menu allows you to quickly move to a specific column on the columns
  850. menu.  To use this menu, position the highlight on the field you wish to
  851. locate and press return.  The column menu for this field opens to allow you
  852. to edit this column.
  853.  
  854. ..PG
  855. ..CE Exit
  856.  
  857. The Exit menu allows you to save you changes to this report or abandon the
  858. changes you have made.  To save the report, move the highlight to the save
  859. menu choice and press enter.  To abandon the changes, position the cursor
  860. at the abandon choice and press return.  If you abandon the changes, all
  861. work done on this report will be lost.  After exiting from the report
  862. generator you will return to either the "dot prompt" or to the
  863. sort/selection criteria menu depending on where you started.
  864.  
  865.  
  866. ..PG
  867. ..SK 15
  868. ..CE %%Sname Users Guide
  869.  
  870. ..CE APPENDIX D
  871.  
  872. ..CE Labels
  873. ..PG
  874.  
  875. You may create your labels from either the dBase "dot prompt" or from
  876. within your system.  The setup methods change depending on which method you
  877. choose, but once the label screen is displayed, the creation or modification
  878. of the label is the same.
  879.  
  880. ..CE From the "dot prompt"
  881.  
  882. Type 'USE %%FILEA' and press enter if your %%FileDescA is not indexed.
  883. Type 'USE %%FILEA INDEX %%INDEXA' and press enter if your %%FileDescA is
  884. indexed.
  885. Now type 'MODIFY LABEL name' where name is the name of an existing label
  886. you wish to modify or the name of a new label you wish to create.  The
  887. dBase label screen will appear.
  888.  
  889. ..CE From the Sort/Selection menu
  890.  
  891. When you choose option L from the Sort/Selection menu, you will be asked for
  892. the name of the label you wish to create or modify.  Type this name and
  893. press enter.  The dBase label screen will appear.
  894.  
  895. ..CE Creating or Modifying Label
  896.  
  897. The label generator appears on the screen.  Looking at the screen, you will
  898. notice three menus across the top.  They are labeled: Options, Contents, and
  899. Exit.  You may move to the various menus by pressing the right and left arrow
  900. keys.  The up and down arrow keys move the highlight within the pull-down
  901. menus.  To select the currently highlighted menu item, press the Return or
  902. Enter key.  Below is a description of each of the menus.
  903.  
  904. ..CE The Options Menu
  905.  
  906. This is the first and leftmost menu.  The Option menu contains various options
  907. for label layout.  The options menu allows you to change the predefined size
  908. of the label, the label width, height, left margin, numbers of lines between
  909. the labels, spaces between labels and labels across the page.  Normally you
  910. would only change the predefined size and take the default the remainder of
  911. the values.  You would only change the other values if you have an odd sized
  912. label that is not predefined.
  913.  
  914. Predefined Size
  915.    This option allows you to choose from a series of predefined sizes for
  916.    your labels.  The sizes that come with dBase III+ are:
  917.  
  918.                   3 1/2 x 15/16 by 1
  919.                   3 1/2 x 15/16 by 2
  920.                   3 1/2 x 15/16 by 3
  921.  
  922.                   4 x 1 7/16 by 1
  923.  
  924.                   3 2/10 x 11/12 by 3 (Cheshire)
  925.  
  926.    To change the predefined size, move the highlight to the predefined size
  927.    option and press return.  The size will cycle through the above options.
  928.    When you have reached the size and number of labels across you wish, you
  929.    may move to the contents menu.
  930. ..PG
  931. Label Width
  932.    The label width option allows you to specify the width in positions of
  933.    the one label.  The default varies depending on the predefined size you
  934.    have chosen.  If you are using labels which are not predefined, measure
  935.    the width of a label (in inches) and multiply by 10 to calculate the label
  936.    width in positions.  To change this option point the highlight here and
  937.    press return.  Type the new value and press return again.
  938. Label Height
  939.    This option allows you to specify how many lines high the label is.
  940.    The default varies depending on the predefined size you have chosen.
  941.    If you are using labels which are not predefined, measure the height of
  942.    a label (in inches) and multiply by 6 to calculate the label height in
  943.    positions.  To change this option point the highlight here and press
  944.    return.  Type the new value and press return again.
  945. Left margin
  946.    This option allows you to specify how many positions from the left you
  947.    wish printing to start at.  This allows you to specify a margin to
  948.    insure that printing starts on the label and not the backing.  The default
  949.    is 0 positions but you may change it.  To calculate this value, measure the
  950.    distance from the left edge of the label backing to the left edge of the
  951.    label.  Multiply this length (in inches) by 6 to calculate the left margin
  952.    in positions.  To change this option, point the highlight here and press
  953.    return.  Type the new value and press return again.
  954. Lines between labels
  955.    This option is the number of between each label (vertically).  The default
  956.    varies depending on the predefined form but is usually 1 line.  This
  957.    value may be calculated by measuring the distance from the bottom of one
  958.    label to the top of the next (in inches).  Multiply this number by 6 and
  959.    this is the number of lines between labels.  To change this option, point
  960.    the highlight here and press return.  Type the new value and press return
  961.    again.
  962. Spaces between labels
  963.    If you have more than one label across the paper, this option specifies
  964.    the distance between these labels.  To calculate this value, measure the
  965.    distance from the right edge of one label to the left edge of the next
  966.    label.  Multiply this number by 10 to get the number of positions for this
  967.    value.  To change this option, point the highlight here and press return.
  968.    Type the new value and press return again.
  969. Labels across page.
  970.    This option specifies the number of labels across the page.  Most labels
  971.    are called 1-up labels.  1-up labels have 1 strip of labels (they are
  972.    one label across).  2-up labels have 2 labels across, 3-up have 3 and 4-up
  973.    have 4.  Before buying labels be sure that they will fit in your printer.
  974.    Most standard printers will only handle 1 or 2 up labels.
  975. ..PG
  976.  
  977. ..CE Putting data on your label
  978.  
  979. The Contents menu allows you to place field values and constant data into
  980. the lines on your labels.  To enter data into the contents fields on this
  981. menu, you point at the line you wish to use and press enter.  You can now
  982. type the field name or constant data for this column or press F10 to see
  983. a list of field names.  If you press F10 for the list of field names, you
  984. would select a field by using the up and down arrow keys to highlight the
  985. field you wish to choose and than press return.  After you finish filling
  986. in the contents for one line you switch to the next line by pressing the
  987. down arrow key.  To back up to a line you have already filled in, press
  988. the up arrow key.
  989.  
  990. ..CE Exit
  991.  
  992. The Exit menu allows you to save you changes to this label or abandon the
  993. changes you have made.  To save the report, move the highlight to the save
  994. menu choice and press enter.  To abandon the changes, position the cursor
  995. at the abandon choice and press return.  If you abandon the changes, all
  996. work done on this label will be lost.  After exiting from the label
  997. generator you will return to either the "dot prompt" or to the
  998. sort/selection criteria menu depending on where you started.
  999.  
  1000.