home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / ags210.zip / AGSAPPC.TXT < prev    next >
Text File  |  1988-05-07  |  62KB  |  1,710 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                             APPLICATIONS GENERATOR SYSTEM
  9.                                 By R.L. Coppedge, CDP
  10.  
  11.           Please note:
  12.  
  13.           If you are not interested in creating your own application please
  14.           do not spend an abundance of time on this Appendix, as it  may be
  15.           confusing to  someone who  is mainly  a user, and unfamiliar with
  16.           Dbase III+.
  17.  
  18.           Section        Topic                                   Page #
  19.  
  20.           Section C1.0        Introduction.  . . . . . . . . . . . . .    1
  21.                C1.1      What you need to Begin  . . . . . . . . . . .    1
  22.  
  23.           Section C2.0        Installing AGS Itself. . . . . . . . . .    3
  24.                C2.1      Installing AGS from an Archive (ARC) file . .    3
  25.  
  26.           Section C3.0        Installing Create. . . . . . . . . . . .    4
  27.  
  28.           Section C4.0        Running CREATE . . . . . . . . . . . . .    5
  29.                C4.1      The MAIN Database . . . . . . . . . . . . . .    5
  30.                C4.2      The Create Database . . . . . . . . . . . . .    7
  31.                C4.3      Editing the CREATE Database . . . . . . . . .   10
  32.                C4.4      Building the Create Files . . . . . . . . . .   11
  33.                C4.5      A list of Create Files  . . . . . . . . . . .   12
  34.  
  35.           Section C5.0        Modifying Generated Code and Databases.    14
  36.                C5.1      A List of Generated Code and Files  . . . . .   14
  37.                C5.2      Modifying Create-Generated Code . . . . . . .   14
  38.  
  39.           Section C6.0        Modifying the Main Programs. . . . . . .   16
  40.                     C6.1      Data Verification  . . . . . . . . . . .   17
  41.  
  42.           Section C7.0        Starting your System . . . . . . . . . .   19
  43.  
  44.           Section C8.0        Adding more Applications . . . . . . . .   20
  45.  
  46.           Section C9.0        Don't do the Following!  . . . . . . . .   21
  47.  
  48.           Section C10.0       Registration . . . . . . . . . . . . . .   22
  49.  
  50.           Section C11.0       Thanks and Thoughts  . . . . . . . . . .   24
  51.  
  52.           Section C12.0       Limitations. . . . . . . . . . . . . . .   25
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.                    Illustrations, Figures and Good Stuff Like That
  70.  
  71.  
  72.                Figures:                                               Page:
  73.                Figure C-1     Subdirectory Structure . . . . . . . . .    2
  74.                Figure C-2     Create's Main Menu . . . . . . . . . . .    5
  75.                Figure C-3     The Main Database  . . . . . . . . . . .    5
  76.                Figure C-4     Main.Dbf Entry Screen  . . . . . . . . .    7
  77.                Figure C-5     The CREATE Database  . . . . . . . . . .    8
  78.                Figure C-6     Create Edit Screen . . . . . . . . . . .   10
  79.                Figure C-7     Create's Initial Screen  . . . . . . . .   11
  80.                Figure C-8     CREATE's Main Screen . . . . . . . . . .   12
  81.                Figure C-9     VERIFY Databases . . . . . . . . . . . .   17
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.           Section C1.0        Introduction.
  130.  
  131.                When creating a  new  application  through  the  AGS,  it is
  132.           assumed  that  the  person  doing  so  has  a relatively complete
  133.           understanding of both the Dbase III+ syntax, and  the programming
  134.           language itself, as well as knowledge of MS-DOS commands.
  135.  
  136.           C1.1      What you need to Begin
  137.  
  138.                Prior to  beginning anything  with the  AGS, the user should
  139.           have the following items prepared:
  140.  
  141.                1>   a subdirectory  layout will  be installed automatically
  142.           on  installation  as  detailed  in  Figure  C-1.  The user should
  143.           ensure that nothing would be upset by such activity.
  144.  
  145.                2>   Dbase III+ should be  installed  properly,  as  well as
  146.           the MS-DOS  CONFIG.SYS file, which should at the minimum have the
  147.           command FILES=20.  Also, the CONFIG.DB file located  in the Dbase
  148.           III+ subdirectory  should NOT have the "COMMAND = ASSIST" line in
  149.           it.
  150.  
  151.                3>   A directory should be made available  that contains the
  152.           files AGS.ARC, and the program used to de-Archive it.
  153.  
  154.                4>   The user  should know  the name  of the  database.  For
  155.           this appendix, the application shall  be  known  as  APP,  and is
  156.           contained  in  the  directory  \DBDATA\APP.  Although this is not
  157.           needed knowledge for installing the AGS,  it will  be critical in
  158.           order to use it.
  159.  
  160.                5>   A list  of all necessary Sort Orders is made (including
  161.           field names)
  162.  
  163.                6>   A text editor should  be available,  (the program files
  164.           are too big for Dbase III+'s MODI COMM command).
  165.  
  166.                7>   You are familiar with the database function you wish to
  167.           use and how you want it to work.
  168.  
  169.                8>   You are willing to work through the documentation!
  170.  
  171.                Please note that we will assume that the  database structure
  172.           of APP  is identical  to that  of TEST in Section 4.1 of the Main
  173.           Documentation.
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.                                                                           1
  183.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.           --
  191.           _____________________________________________________________
  192.           |                                                           |
  193.           |                                                           |
  194.           |                                                           |
  195.           |                                                           |
  196.           |    ROOT                                                   |
  197.           |        \                                                  |
  198.           |         \DBDATA--\------"App"                             |
  199.           |                   \-----Help                              |
  200.           |                    \----Create                            |
  201.           |                     \---Main                              |
  202.           |                                                           |
  203.           |    \DBASE Stores Dbase III+ itself.                       |
  204.           |                                                           |
  205.           |    \DBDATA\HELP Stores the generic Command Line           |
  206.           |    Help Databases (Section 10.2) and Documentation        |
  207.           |                                                           |
  208.           |    \DBDATA\CREATE Stores the Create Programs              |
  209.           |    when not in use (for future uses)                      |
  210.           |                                                           |
  211.           |    \DBDATA\MAIN Stores the copies of the Main             |
  212.           |    Programs for future use and .BIN files                 |
  213.           |                                                           |
  214.           |    \DBDATA\APP Stores all programs and Data               |
  215.           |    relevant to Application APP                            |
  216.           |___________________________________________________________|
  217.                Figure C-1     Subdirectory Structure
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.                                                                           2
  244.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.           Section C2.0        Installing AGS Itself.
  252.  
  253.  
  254.                The file AGS.ARC contains all programs and files (aside from
  255.           Dbase III+ itself and your database file you create) necessary to
  256.           build your  application.    It  also  will  build  a subdirectory
  257.           structure,  as  detailed  in  Figure  C-1, automatically building
  258.           \DBDATA, \DBDATA\CREATE, \DBDATA\MAIN, and \DBDATA\HELP.  It will
  259.           be up  to you to build \DBDATA\APP (where APP is the name of both
  260.           the application, subdirectory, and the database itself.  You give
  261.           it whatever  name you  want, as  long as it is a valid Dbase III+
  262.           database name).
  263.  
  264.           C2.1      Installing AGS from an Archive (ARC) file
  265.  
  266.                If you have downloaded the AGS from a BBS, and have the file
  267.           "AGS.ARC", you  have apparently de-ARChived it enough to get this
  268.           file from it (APPENDC.TXT).  If not, do the following:
  269.  
  270.           1>   Move AGS.ARC to any empty subdirectory.
  271.           2>   De-archive the files:
  272.           ARCE AGS<Enter>     *(this may change, depending on the de-ARC
  273.                               program)
  274.           3>   Begin the installation program.  Enter:
  275.           INSTALL <Path><Enter>
  276.                <Path>  is  the  data  directory  where  Dbase  is residing.
  277.           Traditionally, this would be:
  278.           INSTALL \DBASE <Enter>
  279.  
  280.                And then  sit back  and watch  the system  go to  town.  The
  281.           system will:
  282.  
  283.                1>   Create Necessary subdirectories.
  284.                2>   Move proper files to proper places.
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.                                                                           3
  305.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.           Section C3.0        Installing Create.
  313.  
  314.                Assuming that  you have  performed tasks  #1,2 and  3 in the
  315.           previous section,  you are  ready to  start Create.   This is the
  316.           first step in making an application using the AGS.
  317.  
  318.                From now on, you must be in Dbase III+ to  make all  of this
  319.           work.   This is so it doesn't unwittingly erase anything crucial.
  320.           As stated before, we're  going  to  call  the  application  to be
  321.           created "APP".   We  need to Create a new directory, \DBDATA\APP.
  322.           So let's get on with it,  ok?    Commands  underlined  are  to be
  323.           entered by you:
  324.  
  325.           Dbase AGSCr<Enter>            (This starts Dbase III+ for you)
  326.  
  327.                This is run only when you are initially setting up the file.
  328.           If you've already done this, ignore this step.   The  system will
  329.           verify that  you in fact want to perform this step, and then will
  330.           prompt you with: 
  331.  
  332.           What is the Database's Name : 
  333.  
  334.           Where you would enter "APP" (or whatever you were calling yours).
  335.           Again,  the  system  will  verify  your response, and perform the
  336.           following:
  337.  
  338.           1>   Create the subdirectory C:\dbdata\"APP"
  339.           2>   Move all Main files there
  340.           3>   Update the Main.Dbf database
  341.           4>   Begin the Create program for you.
  342.  
  343.           If you later needed to simply run the Create program, you would:
  344.           1>   Enter Dbase normally (DBASE <Enter>)
  345.           2>   Change subdirectory (!CD \DBDATA\APP <Enter>)
  346.           3>   Begin the Create program (DO \DBDATA\CREATE\CREATE <Enter>)
  347.  
  348.           But for now, the system will start Create for you.
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.                                                                           4
  366.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.           Section C4.0        Running CREATE
  374.  
  375.                At this point you should be in the  Create program.  If not,
  376.           we would start it by entering:
  377.  
  378.           DO \DBDATA\CREATE\CREATE <Enter>   (while in Dbase, and from the
  379.                                              \DBDATA\APP subdirectory)
  380.  
  381.           The resultant menu is shown in Figure C-2.                  
  382.                                                                       
  383.             Application Generator System ---- RL Coppedge, CDP        
  384.                                                                       
  385.                                                                       
  386.                You should run these steps in approximate order...     
  387.                    The name of the database is : APP                  
  388.                 You can:                                              
  389.                                                                       
  390.                1>   Edit the Main.Dbf database file                   
  391.                2>   Create or Modify your Database                    
  392.                3>   Build the Shell Create.DBF                        
  393.                4>   Edit the Create.DBF                               
  394.                5>   Build the Support Files                           
  395.                                                                       
  396.                     Which one do you want (1-5,Q)                     
  397.                                                                       
  398.                Figure C-2     Create's Main Menu
  399.  
  400.           C4.1      The MAIN Database
  401.  
  402.                There  are  actually  three  databases  involved  in  an AGS
  403.           application.  The first (and  easiest  by  far)  is  the database
  404.           MAIN.DBF.    This  database  has  one record, and really only two
  405.           critical fields, and four optional fields.  Only  the first field
  406.           (NAME) is  absolutely necessary; the remainder are optional.  The
  407.           structure looks something as  in  Figure  C-4  (acquired  using a
  408.           Dbase LIST STRUCTURE Command):
  409.                                                               
  410.                                                               
  411.                Structure for database: C:main.dbf             
  412.                Number of data records:       1                
  413.                Date of last update   : 03/19/88               
  414.                Field  Field Name  Type       Width    Dec     
  415.                    1  NAME        Character      8            
  416.                    2  TITLE       Character     25            
  417.                    3  BELL        Logical        1            
  418.                    4  CONFIRM     Logical        1            
  419.                    5  DELETED     Logical        1            
  420.                    6  EXACT       Logical        1            
  421.                    7  DBASE_PTH   Character     25            
  422.                ** Total **                      63            
  423.                                                               
  424.                Figure C-3     The Main Database
  425.  
  426.                                                                           5
  427.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.                The fields are used for:
  436.  
  437.           1.   NAME.    Lets  the  AGS  know  what database it is currently
  438.           using.  It should be the name of the Dbase file minus  the ".DBF"
  439.           extension.   Example:  If we are using our App database, then the
  440.           field would simply contain "APP" (minus the quotes).
  441.  
  442.           2.   TITLE.  Appears on many of the screens.   A  25 character or
  443.           less title  that describes  what the  database is.  Optional, but
  444.           recommended.
  445.  
  446.           3.   BELL.  Sets the Bell option  initially ON  or OFF.   You can
  447.           change it later through the housekeeping function.  See the Dbase
  448.           III+ documentation for further description of the Bell.
  449.  
  450.           4.   CONFIRM.  Sets the Confirm option initially ON or OFF.   You
  451.           can change  it later  through the housekeeping function.  See the
  452.           Dbase III+ documentation for further description of Confirm.
  453.  
  454.           5.   DELETE.  Sets the Delete option  initially ON  or OFF.   You
  455.           can change  it later  through the housekeeping function.  See the
  456.           Dbase III+ documentation for further description of Delete.
  457.  
  458.           6.   EXACT.  Sets the Exact option initially ON or OFF.   You can
  459.           change it later through the housekeeping function.  See the Dbase
  460.           III+ documentation for further description of Exact.
  461.  
  462.           7.   DBASE_PTH.    Lets  the  system  know  where  Dbase  III+ is
  463.           residing, so  that the  initial program  (App.prg) will be placed
  464.           properly.
  465.  
  466.                Now, this database has only one record, which  is originally
  467.           empty.   If that  record does  not have  information edited to it
  468.           with the Application default  information prior  to anything else
  469.           happening, Create  will not work, AGS will not work, nothing will
  470.           work.  If it is ever moved,  Create will  not work,  AGS will not
  471.           work, nothing will work.  Hopefully you get the idea.  AGS is not
  472.           (at this point) terribly intelligent for handling errors here, so
  473.           you have to keep track of this mostly yourself.
  474.  
  475.           Changing Main.DBF
  476.  
  477.                Select option  #5 in the Create Main Menu.  The screen shown
  478.           if Figure  C-4  will  show  up.    Simply  enter  the information
  479.           according to your particular desires.
  480.  
  481.                You can  change any  field in Main at any point in time even
  482.           after  generation  of  the  system...except  NAME  and DBASE_PTH.
  483.           Don't ever change them.
  484.  
  485.  
  486.  
  487.                                                                           6
  488.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495.                                                                            
  496.             Application Generator System ---- RL Coppedge, CDP             
  497.                                                                            
  498.                                                                            
  499.                     For the Database within this Directory:                
  500.                                                                            
  501.                     What is the Name of the Database  test                 
  502.                     What is the Database Title :  Sample DB                
  503.                                                                            
  504.                          A 'Y' response corresponds to 'ON'                
  505.                                                                            
  506.                     What is the Default Bell Setting :  N                  
  507.                     What is the Default Confirm Setting :  N               
  508.                     What is the Default Deleted Setting :  N               
  509.                     What is the Default Exact Setting :  N                 
  510.                What is the Directory Name for where Dbase is  ___________  
  511.                                                                            
  512.                Figure C-4     Main.Dbf Entry Screen 
  513.  
  514.           C4.2      Creating your APP database
  515.  
  516.                Selecting Option #2 from Creates main menu (Figure C-2) will
  517.           help you in creating  (originally) or  modifying (changing later)
  518.           the  structure  of  your  database.   The system will display the
  519.           choices found in Figure C-5:
  520.  
  521.                                                                      
  522.              Application Generator System ---- RL Coppedge, CDP      
  523.                                                                      
  524.                                                                      
  525.              For the database : App                                  
  526.                    This Database Does NOT yet Exist                  
  527.                                                                      
  528.                    Are you ready to:                                 
  529.                                                                      
  530.                          (C)reate your database structure            
  531.                          (M)odify your database structure            
  532.                          (E)rase your database and try again         
  533.                                                                      
  534.                      Which one do you want to do (C,M,E, (Q)uit)     
  535.                                                                      
  536.                Figure C-5     Creating the Database
  537.  
  538.           Basically by selecting any  of these  options you  can change the
  539.           structure of your database.  The program simply invokes the Dbase
  540.           command "Create" or "Modify structure".  Refer to your Dbase III+
  541.           documentation for more information.
  542.  
  543.           C4.21     Changing Your Structure
  544.  
  545.                Should the  need arise  after you've created your system and
  546.           have been using your database, and  then you  need to  change the
  547.  
  548.                                                                           7
  549.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.           structure, you have the following options:
  557.  
  558.                1>   Go into  the Create.Dbf  manually (Dbase Edit) and make
  559.           necessary changes after modifying APP.dbf  Then DO  Create but DO
  560.           NOT CREATE SHELL CREATE.DBF! and rebuild files.
  561.  
  562.                2>   Treat it as a new application and reenter information.
  563.  
  564.           C4.3      The Create Database
  565.  
  566.                By  far  this  is  the  toughest  part of the system, not in
  567.           technical entry, but in your own design.   If done  properly, the
  568.           system you  want will  operate smoothly.  If not, you're in for a
  569.           bit of trouble.  Take the time to read the AGS user documentation
  570.           prior to  doing this.   Design  your database carefully, and with
  571.           all of  this in  mind.   Remember that  the best  software in the
  572.           world can't  help poor  planning.  Perhaps this package even more
  573.           so.
  574.  
  575.                The CREATE database defines each field in the  database, and
  576.           their  role.    Each  record  in CREATE represents a field in the
  577.           database APP.  CREATE defines what the characteristics are of the
  578.           field as  it relates  to other  fields, and  to the main program.
  579.           The structure  is  thus  (again  with  the  Dbase  LIST STRUCTURE
  580.           Command) shown in Figure C-6:
  581.  
  582.                                                               
  583.                Structure for database: C:create.dbf           
  584.                Number of data records:       0                
  585.                Date of last update   : 03/13/88               
  586.                Field  Field Name  Type       Width    Dec     
  587.                    1  FIELD_NAME  Character     10            
  588.                    2  FIELD_TYPE  Character      1            
  589.                    3  FIELD_LEN   Numeric        3            
  590.                    4  FIELD_DEC   Numeric        3            
  591.                    5  FIELD_DSC   Character     40            
  592.                    6  FIELD_DSC2  Character     40            
  593.                    7  FIELD_TITL  Character     15            
  594.                    8  FIELD_QRY   Character     20            
  595.                    9  SORT        Logical        1            
  596.                   10  UPPER_CSE   Logical        1            
  597.                   11  SORT_TITL   Character     20            
  598.                   12  INDEX_NM    Character      8            
  599.                   13  SORT_LTTR   Character      1            
  600.                   14  INIT_CVAL   Character     80            
  601.                   15  INIT_DVAL   Date           8            
  602.                   16  INIT_NVAL   Numeric       19      5     
  603.                   17  INIT_LVAL   Logical        1            
  604.                   18  SRCHBRO     Logical        1            
  605.                   19  VERIFY      Logical        1            
  606.                ** Total **                     274            
  607.                                                               
  608.  
  609.                                                                           8
  610.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.                Figure C-6     The CREATE Database
  618.  
  619.                A lot  of the records in CREATE (each record represent APP's
  620.           fields, remember)  have  several  of  their  fields  blank, since
  621.           several  CREATE  fields  are  highly specialized.  The first four
  622.           fields you should recognize as Dbase attributes.   The fields are
  623.           as follows:
  624.  
  625.               1  FIELD_NAME  Character     10
  626.  
  627.           Field_name is the name of the field as it appears in the database
  628.           APP.  It is capitalized.
  629.  
  630.               2  FIELD_TYPE  Character      1
  631.  
  632.           Field_type is the type of  field  it  is.    Either "L"(logical),
  633.           "N"(Numeric), "C"(Character), "D"(Date) are allowed.
  634.  
  635.               3  FIELD_LEN   Numeric        3
  636.  
  637.           Field_len is the maximum length the field can be.
  638.  
  639.               4  FIELD_DEC   Numeric        3
  640.  
  641.           If  the  field  is  a  numeric one, than Field_dec shows how many
  642.           decimal places there can be.
  643.  
  644.               5  FIELD_DSC   Character     40
  645.  
  646.           Field_dsc is the first line of text that will show up on the help
  647.           screen for  this variable  (see Section  X, "Help"  main AGS user
  648.           Documentation)
  649.  
  650.               6  FIELD_DSC2  Character     40
  651.  
  652.           Field_dsc2 is the second line of  text that  will show  up on the
  653.           help screen  for this  variable (see  Section X,  "Help" main AGS
  654.           user Documentation)
  655.  
  656.               7  FIELD_TITL  Character     15
  657.  
  658.           Field_titl is the description  used by  the data  entry screen to
  659.           refer to the field.
  660.  
  661.               8  FIELD_QRY   Character     20
  662.  
  663.           Field_qry  is  the  description  used  by the Sort Option screen.
  664.           This should have a value only for values to be included as a Sort
  665.           Option.
  666.  
  667.               9  SORT        Logical        1
  668.  
  669.  
  670.                                                                           9
  671.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.           Sort should be set .T. (Yes) if:
  679.                a>   the value is a Sort Option.
  680.           and  b>   if during sort, you would want Subtotals on this field.
  681.  
  682.              10  UPPER_CSE   Logical        1
  683.  
  684.           Upper_cse should be .T. (Yes) if:
  685.                a>   the value is a Sort Option.
  686.           and  b>   UPPER CASE VALUES = lower case values.
  687.  
  688.              11  INDEX_NM    Character      8
  689.  
  690.           If the field is a Sort Option, this is the name of the index file
  691.           under which the index is stored.
  692.  
  693.              12  SORT_LTTR   Character      1
  694.  
  695.           If the field is a Sort Option, this is the letter it  can also be
  696.           referred to by on the Sort Option screen.
  697.  
  698.              13  INIT_CVAL   Character     75
  699.  
  700.           If the  field is a Character field, this is the initial value the
  701.           field would have during initial data entry.
  702.  
  703.  
  704.              14  INIT_DVAL   Date           8
  705.  
  706.           If the field is a Date  field,  this  is  the  initial  value the
  707.           field would have during initial data entry.
  708.  
  709.              15  INIT_NVAL   Numeric       19      5
  710.  
  711.           If the  field is  a Numeric  field, this is the initial value the
  712.           field would have during initial data entry.
  713.  
  714.              16  INIT_LVAL   Logical        1
  715.  
  716.           If the field is a Logical  field, this  is the  initial value the
  717.           field would have during initial data entry.
  718.  
  719.              17  SRCHBRO     Logical        1
  720.  
  721.           If the  field is  to be  included in  the output of the Search or
  722.           Browse function, this is a .T. (Yes).
  723.  
  724.              18  VERIFY      Logical        1
  725.  
  726.           If the field is  going to  have verification  checks performed on
  727.           it, this flag should be set to .T. (Yes).
  728.  
  729.  
  730.  
  731.                                                                          10
  732.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.              19  BLANK_FLD   Logical        1
  740.  
  741.           If this  field MUST  have a  value for  the record to be "legit",
  742.           this field should be .T. (Yes).   This  will come  into play when
  743.           running the "Delete Blank Records" Function, in Housekeeping.
  744.  
  745.           C4.4      Initializing the CREATE Database
  746.  
  747.                Assuming  you've   already  defined  the  APP  database  (or
  748.           whatever you're  calling yours),  you've still  got to initialize
  749.           the CREATE  database to  properly reflect the various fields.  To
  750.           do that, you must, from the  CREATE program,  build the  Shell of
  751.           Create.Dbf.  So from the Create program, Choose Option #1, "Build
  752.           the Shell Create.DBF".  The program will then verify you  wish to
  753.           do that,  and make  a version  of Create.dbf which has one record
  754.           for each field in the APP database, with the first four fields in
  755.           each record properly filled in.
  756.  
  757.           C4.3      Editing the CREATE Database
  758.  
  759.                Now you  want to  add some  of the specific information into
  760.           the Create database to add some spice to  it all.   Choose option
  761.           #2, "Edit  the Create.DBF".   This  function will then ask you if
  762.           you want to do the fields one at a time or all  of them.   Choose
  763.           to do  all of  them (you'd do one at a time for fine tuning, when
  764.           you become more adept at using  this beastie).   The  system will
  765.           then choose  the first field in the APP database (first record in
  766.           the CREATE), and display what is shown if Figure C-7.
  767.                                                                            
  768.                                                                            
  769.                Field Name :MR_MRS       Type: C                            
  770.                Length :  12  Decimal Places   0                            
  771.                                                                            
  772.                  What is the Data Entry Label for this Field :Mr,Mrs,Ms,Dr 
  773.                  Enter the help description for the variable:              
  774.                  Line #1:                                                  
  775.                  Line #2:                                                  
  776.                                                                            
  777.                    Answer these only for Sort Option Variables             
  778.                   What is going to be Sort Option Desc? Mr,Mrs,Ms,Dr       
  779.                   Do you want subtotals on a Search with this SO? F        
  780.                   What do you want to call the Index File?                 
  781.                   What's the Letter used on the SO screen?                 
  782.                   Should the sorting be done all uppercase?  F             
  783.                                                                            
  784.                  Should the field display in the Search/Browse  F          
  785.                  Is this a verifiable Field?  F                            
  786.                  Are Blank Fields allowed?  F                              
  787.                  Enter Default Value for Data Entry:                       
  788.                     Mr.                                                    
  789.                                                                            
  790.                Figure C-7     Create Edit Screen
  791.  
  792.                                                                          11
  793.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.           (SO Means Sort Option, by the way).
  802.  
  803.                When you've answered all of the questions, the computer will
  804.           ask "(S)ame,  (N)ext, (P)revious,  (Q)uit".   By selecting one of
  805.           those choices, you choose which field to change, if any.
  806.  
  807.                For most fields in your database, you're only  going to have
  808.           to fill  in the first three lines.  More important ones (the sort
  809.           fields) will take a little longer.  Once you're done, choose "Q".
  810.  
  811.           C4.5      Building the Create Files
  812.  
  813.                Now you're  ready  for  the  final  step  in  preparing your
  814.           Application...building  your  Create  files.    Choose Option #3,
  815.           Build the Support Files.   The  system will  then respond  with a
  816.           window as shown in Figure C-8:
  817.  
  818.                                                           
  819.              Do you want to Run this?  Y                  
  820.                                                           
  821.              Do you want the Create default Y or N  Y     
  822.                                                           
  823.                Figure C-8     Create's Initial Screen
  824.  
  825.           This Section will build the following programs:
  826.  
  827.           I(Database Name).PRG
  828.           C(Database Name).PRG
  829.           E(Database Name).PRG
  830.           R(Database Name).PRG
  831.           P(Database Name).PRG
  832.           T(Database Name).PRG
  833.           S(Database Name).PRG
  834.           PR(Database Name).PRG
  835.           W1(Database Name).PRG
  836.           W2(Database Name).PRG
  837.           M(Database Name).PRG   <----This one resides in the same
  838.                                         directory as Dbase
  839.  
  840.           Create will also build empty database files (with 1 blank record)
  841.           for use in the verification function:
  842.  
  843.           (Field Name).DBF
  844.  
  845.           Each file has a critical role  to play  in the  AGS, and  is used
  846.           extensively throughout the system.  CREATE builds them.
  847.  
  848.                As before,  the system  will look to the what you've created
  849.           in the Create.DBF database for information  you've provided.   It
  850.           will then  ask you  to verify that you want to do this,and if the
  851.           file defaults should be Yes or No Build.   Initially,  select the
  852.  
  853.                                                                          12
  854.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.           values as  they are  shown in  the Figure  C-8.   After that, the
  862.           system will display what is shown in Figure C-9.  As you can see,
  863.           there are  several files  that must be generated in order for the
  864.           system to be able to run on your particular database.            
  865.                                                  
  866.  
  867.                                                                          
  868.                                                                          
  869.                E>   Entry Screen File...Currently:  Build                
  870.                I>   Initialize File...Currently:  Build                  
  871.                P>   Public File...Currently:  Build                      
  872.                T>   Transfer File...Currently:  Build                    
  873.                S>   Save File...Currently:  Build                        
  874.                PR>   Print File...Currently:  Build                      
  875.                W1>   WPS Convert 1 File...Currently:  Build              
  876.                W2>   WPS Convert 2 File...Currently:  Build              
  877.                C>   C Sort Menu File...Currently:  Build                 
  878.                R>   Reindex File...Currently:  Build                     
  879.                V>   Verify File...Currently:  Build                      
  880.                M>   Main Program File...Currently:  Build                
  881.                                                                          
  882.                Hit the letter on the left of the line you want to change 
  883.                or Q to end                                               
  884.                                                                            
  885.                Figure C-9     CREATE's Main Screen
  886.  
  887.  
  888.                At the  end of  each line are either the word(s) Build or No
  889.           Build.  If you had selected  N earlier,  they would  have started
  890.           out as  'No Build'.   To  change one, just enter the letter(s) on
  891.           the left  that  corresponds  to  the  file  you  want  to change.
  892.           They'll toggle from 'Build' to 'No Build'.  For the first run you
  893.           want them all to  be Build,  but later  on you  may only  want to
  894.           regenerate  some  of  them.   When you're satisfied, simply enter
  895.           'Q<Enter>' and the system will then build all files (10  in all).
  896.           The actual  names of  these files are the letter on the left plus
  897.           the  Application  name  plus  the  extension  ".PRG".    So,  for
  898.           example, the print file would be PRAPP.PRG.
  899.  
  900.                When you  enter Q  and hit  <Enter>, the system will display
  901.           messages that  it's building  each file.   Once  done, the system
  902.           will ask  you if  you want  to Reindex your Database.  If you say
  903.           no, then the system will bomb the first time you do data entry.
  904.  
  905.                Once create is done, you  have  the  option  of  erasing the
  906.           Create  programs.    This  will erase all Create-related programs
  907.           (only  in  the  \DBDATA\APP  directory.    They're  also  in  the
  908.           \DBDATA\CREATE, remember).  (You don't need them again unless you
  909.           make changes to the database structure).   Do  not do  this until
  910.           you're sure  everything works!   You can rerun Create, and choose
  911.           to delete the files later!
  912.  
  913.  
  914.                                                                          13
  915.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.                If you need to  run Create  again after  deleting the Create
  923.           files, simply:  1> Move  all ".PRG" files from the \DBDATA\CREATE
  924.           subdirectory, 2> Run Create again!
  925.  
  926.  
  927.  
  928.  
  929.           C4.6      A list of Create Files
  930.  
  931.           The following is a list  of  all  files  involved  in  the Create
  932.           process:
  933.  
  934.           CREATE.PRG     Driver of Create process
  935.           CRMAIN.PRG     Edits Main.dbf file
  936.           CRDBBLD.PRG    Helps build database
  937.           CRSHELL.PRG    Builds Shell Create.dbf
  938.           CREDIT.PRG     Edit Create.dbf
  939.           CRBUILD.PRG    Builds AGS Support Files
  940.           CRDELETE.PRG   Deletes Create programs
  941.           EBLD.PRG       Builds Data Entry File
  942.           IBLD.PRG       Builds Data initialize File
  943.           PBLD.PRG       Builds Public Variable File
  944.           TBLD.PRG       Builds Transfer Memory -> Disk File
  945.           SBLD.PRG       Builds Transfer Disk -> Memory File
  946.           PRBLD.PRG      Builds Print File
  947.           W1BLD.PRG      Builds 1st Conversion File for WP Conversion
  948.           W2BLD.PRG      Builds 2nd Conversion File for WP Conversion
  949.           CBLD.PRG       Builds Sort Menu Program     
  950.           RBLD.PRG       Builds Reindex File Program
  951.           MBLD.PRG       Builds initial program (moves from 
  952.                          \DBASE to \DBDATA\APP)
  953.           VBLD.PRG       Builds empty Verify Databases
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.                                                                          14
  976.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.           Section C5.0        Modifying Generated Code and Databases.
  984.  
  985.                Once Create  has done  its duty,  you're close but not quite
  986.           there.  First, you must  make  very  small  modifications  to the
  987.           created code, so that it will be more understandable by the user.
  988.           Generally speaking, these modifications  are  only  necessary for
  989.           data entry  screens or  display screens.  In these cases, this is
  990.           limited to making them more palatable  for the  user and grouping
  991.           the information more logically for the application.
  992.            
  993.           C5.1      A List of Generated Code and Files
  994.  
  995.                The following  is a  list of all Files created by the Create
  996.           process:
  997.  
  998.           Name      Used In:            Description:
  999.           EAPP.PRG       I         Data Entry Screen
  1000.           IAPP.PRG       I         Initialize values for new records
  1001.           PAPP.PRG       I         Sets all memory variables public
  1002.           TAPP.PRG       I         Transfers memory to disk
  1003.           SAPP.PRG       I         Transfers disk to memory
  1004.           PRAPP.PRG      I         Hardcopy printout (Inquiry/Entry)
  1005.           W1APP.PRG      W         Initialize variables for WP Conv.
  1006.           W2APP.PRG      W         Initialize more variables for WP Conv.
  1007.           CAPP.PRG       ISW       Chooses Sort Order for Access to Info.
  1008.           RAPP.PRG       H         Performs Reindexing of Data
  1009.           APP.PRG        B         Starts whole system
  1010.  
  1011.           Used In:
  1012.           I    Inquiry/Entry
  1013.           S    Search
  1014.           W    WP Conversion
  1015.           H    Housekeeping
  1016.           B    Beginning
  1017.  
  1018.                Also created are database  files (named  after the  field in
  1019.           the APP  database) which  are used  for verification (see Section
  1020.           C6.0).
  1021.  
  1022.           C5.2      Modifying Create-Generated Code
  1023.  
  1024.                There are  basically  two  files  that  usually  have  to be
  1025.           modified.    They  are  the  data entry module (EAPP.PRG) and the
  1026.           hardcopy printout file (PRAPP.PRG).  These two screens  will work
  1027.           without changes.   But  they'll work even better if you make some
  1028.           simple changes.
  1029.  
  1030.                To see  how your  data entry  screen will  appear, enter the
  1031.           following:
  1032.  
  1033.           DO PAPP   (this will make your variables public)
  1034.           DO IAPP   (this will give them initial values)
  1035.  
  1036.                                                                          15
  1037.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.           DO EAPP   (this will display your d/e screen)
  1045.  
  1046.                Your screen  should show  up...if you  like it, fine.  But I
  1047.           suggest you move things around so  that they  make a  little more
  1048.           logical order.
  1049.  
  1050.                If you  use a  text editor  within Dbase (I prefer Borland's
  1051.           Sidekick) you can take a look at your screen after changing it by
  1052.           simply running  EAPP (you don't have to run the other two again).
  1053.           Of course, you can also  use  the  Dbase  Editor  (Modify Command
  1054.           EAPP).   Either way,  through some  relatively simple changes, it
  1055.           would be easier for a relative novice to use and understand.  The
  1056.           same  type  of  modification  is  recommended  for  the PRAPP.PRG
  1057.           program file.
  1058.  
  1059.                Another key thing to note is that if  your database contains
  1060.           more than  24 fields,  there are two files which MUST be modified
  1061.           (the calculated @..SAY's will be off of the  screen).   The files
  1062.           are:
  1063.  
  1064.           E<App>.PRG     (the data entry screen)
  1065.           W1<App>.PRG    (the WP conversion selection screen)
  1066.  
  1067.                The  system  will  display  a  message  to  this effect when
  1068.           needed.
  1069.  
  1070.           (all of this needs to be done within Dbase)
  1071.  
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.                                                                          16
  1098.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.           Section C6.0        Modifying the Main Programs.
  1106.  
  1107.           The following Main files are used by the AGS:
  1108.  
  1109.           File Name      Note      Description    
  1110.                          Marker
  1111.  
  1112.           MENU           (1)       Main Menu (Sec. 3.0, Fig. 3-1)
  1113.              MAINT       (2)       Inquiry/Entry (Sec. 4.0)
  1114.              REPORT      (3)       Reports (Sec. 5.0)
  1115.              TRANS       (3)       File Transfer (Sec. 6.0)
  1116.              WPSCONV :   (2)       WP Conversion (Sec. 7.0)
  1117.                  CVWPS             Process for WP Conv
  1118.                  WSMOD             Module for Wordstar 2000
  1119.                  WPMOD             Module for Word Perfect
  1120.                  WPSMOD            Module for WPS PC+
  1121.                  DSP4MOD           Module for Display Write IV
  1122.                  DBMOD             Module for Dbase III+
  1123.                  CVWMAC            External Macro Commands
  1124.              SEARCH      (2)       Search (Sec. 8.0)
  1125.                  VERVAR            Verify variable names
  1126.              HOUSE                 Housekeeping (Sec. 9.0)
  1127.                 BACKUP             Data/Program Backup (Sec 9.1)
  1128.           *     VERIFY             Data Verification (Sec.9.3)
  1129.                 CONTROL            Sets Control options (Sec 9.4)
  1130.                 BLANK              Deletes Blank Records (Sec 9.5)
  1131.                 PACK               Erases deleted data (Sec. 9.6)
  1132.              HELP                  Help (Sec. 10.0)
  1133.                 CVHLP              Process for Help
  1134.              FILTER       (2)      Selection Criteria Maint. (Sec. 11.0)
  1135.              VEREDT                Maintains list of Ver. Data (Sec. 12.0)
  1136.              REGINFO               Where Do ya send da bucks(Sec 13.0)
  1137.  
  1138.           Multiple Use Programs:
  1139.  
  1140.           ERROR
  1141.           FLTGUIDE        (4)
  1142.           FLTERR          (4)      Bad Selection Criteria mess. (Sec. 11.0)
  1143.           MANFLT          (4)
  1144.           GETFLT          (4)      Chooses Selection Criteria (Sec. 11.0)
  1145.           LIGHTBAR        (4),(5)
  1146.  
  1147.           Database:
  1148.  
  1149.           FLT                      Selection Criteria Database (Sec. 11.4)
  1150.           BROWSE                   Temporary Database for Browse
  1151.                                    (Sec. 4.0,11.0)
  1152.  
  1153.           Forms:
  1154.  
  1155.           FILTER                   Selection Criteria Rep Form (Sec. 11.0)
  1156.           VERIFY                   Verify Report Form
  1157.  
  1158.                                                                          17
  1159.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167.           MENUBAR.BIN     (5)      Both files used for loaded
  1168.           DBWIND.BIN      (6)      additional modules.
  1169.  
  1170.  
  1171.  
  1172.           !-The databases used by this program has a potential modification
  1173.           of some type or another, and are covered in this Section (C6.1).
  1174.  
  1175.           *-These   files   must   be   contained   in   the   \DBDATA\MAIN
  1176.           subdirectory.    All  other  files  listed   should  be   in  the
  1177.           \DBDATA\APP subdirectory.
  1178.  
  1179.           Note Marker:
  1180.  
  1181.           1-   Main  menu,  loads  the files: Menubar.bin, Dbwind.bin, sets
  1182.           the error program Error.prg.
  1183.           2-   Uses the set of Selection Criteria programs.
  1184.           3-   Basically shell menu programs,  which  can  be  added  to or
  1185.           modified as needed.
  1186.           4-   All part of the Selection Criteria entry routine.
  1187.           5-   Supplied  through  Ashton-Tate's  Dbase  Utilities, Volume I
  1188.           (good book!)
  1189.           6-   Compliments of who, I  honestly don't  know...all I  have is
  1190.           this file which works kinda nice...
  1191.  
  1192.                C6.1      Data Verification
  1193.  
  1194.                Verification   is   a   function   that   must   be  defined
  1195.           independently of each database application.    When  you  run the
  1196.           Create  function,   you  specify  the  fields  which  would  need
  1197.           verification.   A Verify  database is  created for  each of those
  1198.           fields (named after the fields themselves).  Each Verify database
  1199.           initially  contains  one  record  each.    The  database  has the
  1200.           structure as shown in Figure C-10.
  1201.  
  1202.           _____________________________________________________________
  1203.           |                                                           |
  1204.           |    Structure for database: C:verify.dbf                   |
  1205.           |    Number of data records:       1                        |
  1206.           |    Date of last update   : 03/18/88                       |
  1207.           |    Field  Field Name  Type       Width    Dec             |
  1208.           |        1  FIELD_NAME  Character      9                    |
  1209.           |        2  F_LOW_VAL   Numeric       10      4             |
  1210.           |        3  F_HIGH_VAL  Numeric       10      4             |
  1211.           |        4  F_OLD_DATE  Date           8                    |
  1212.           |        5  F_NEW_DATE  Date           8                    |
  1213.           |        6  FLD_VAL     Character     80                    |
  1214.           |        7  BLANKS      Logical        1                    |
  1215.           |    ** Total **                     127                    |
  1216.           |___________________________________________________________|
  1217.                Figure C-10    VERIFY Databases
  1218.  
  1219.                                                                          18
  1220.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.                Verification  works  on  three  data field types, Character,
  1229.           Numeric, and Date.  There is  no particular  verification test on
  1230.           logical data types (I couldn't think of why there should be one).
  1231.           Both numeric and date checks are low value >= data  <= high value
  1232.           (greater or  equal to  6 but  less or  equal to  12, that sort of
  1233.           thing), whereas character checks  against  a  database  (with the
  1234.           same name  as the field it's checking) which contains nothing but
  1235.           a list of legitimate values for that field.
  1236.  
  1237.                To prepare the verify program for  use, simply  follow these
  1238.           steps:
  1239.  
  1240.                1>   Identify  each  field  that needs verification, and the
  1241.           limits (low and high -end, in the case of numeric or date fields.
  1242.           A list of good values, in the case of character fields) that each
  1243.           field has.
  1244.  
  1245.                2>   Edit (and append)  the  Create  database  so  that each
  1246.           record has the Verify field set '.T.'.
  1247.  
  1248.                3>   Run the  Create function.  If already run, run it again
  1249.           with only the V-function chosen as "Build":
  1250.  
  1251.           ("V> Verify File...Currently: Build").
  1252.  
  1253.                4>   Edit the Verify databases  that Create  made.  Remember
  1254.           that the  name of  the actual database file is the field name and
  1255.           with the same structure as Figure  C-9.   You would  edit them as
  1256.           follows:
  1257.  
  1258.                Date  Fields:    Edit  the  1st  record  so  that F_OLD_DATE
  1259.           contains the oldest acceptable date, and  F_NEW_DATE contains the
  1260.           most recent.
  1261.  
  1262.                Numeric  Fields:    Edit  the  1st  record so that F_LOW_VAL
  1263.           contains the smallest acceptable number, and  F_HIGH_VAL contains
  1264.           the most largest.
  1265.  
  1266.                Character Fields:   Append  the database  so that it has one
  1267.           record for  each acceptable  value.   Each record  would have the
  1268.           variable set to equal an acceptable value.
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.                                                                          19
  1281.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.           Section C7.0        Starting your System
  1289.  
  1290.           Real simple here.  There are three ways:
  1291.  
  1292.           1>   From the Dbase III+ dot prompt (and subdirectory), type in:
  1293.  
  1294.           DO APP <Enter>
  1295.  
  1296.           2>   From the Dbase III+ dot prompt and the APP subdirectory:
  1297.  
  1298.           DO MENU <Enter>
  1299.  
  1300.           3>   From the C> prompt:
  1301.  
  1302.           first move  to the  Dbase III+ subdirectory (assuming that \DBASE
  1303.           is it):
  1304.           CD \DBASE <Enter>
  1305.           and then enter the Dbase III+ command:
  1306.           DBASE APP <Enter>
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.                                                                          20
  1342.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.           Section C8.0        Adding more Applications
  1350.  
  1351.                There is no theoretical limit to the number  of applications
  1352.           your system  can have,  other than  standard disk capacity.  When
  1353.           you add a new system, you need to do the  following (let's assume
  1354.           you want to add an application called Track):
  1355.  
  1356.           1>   DBASE AGSCR <Enter>           (create new subdirectory)
  1357.           2>   TRACK <Enter>                 (when it asks for DB name)
  1358.           3>   DO \DBDATA\CREATE\CREATE <Enter>   (although AGSCR will go
  1359.                                              into Create, just make sure I
  1360.                                              mention it)
  1361.           4>   MODI COMM ETRACK <Enter>           Modify your entry screen
  1362.                                                   (if needed)
  1363.           5>   MODI COMM PRTRACK <Enter>          Modify your print program
  1364.                                                   (if needed)
  1365.           14>  DO MENU <Enter>                    Run it!
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.                                                                          21
  1403.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.           Section C9.0        Don't do the Following!
  1411.  
  1412.                There are  some things you shouldn't do with your AGS.  They
  1413.           include:
  1414.  
  1415.                a>   Defining more than four Sort Options.  (If the users of
  1416.           this system let me know there's a need, more can be added)
  1417.  
  1418.                b>   Using Memo fields.  (Future Release)
  1419.  
  1420.                c>   Use the following as field or application names:
  1421.  
  1422.                     Create
  1423.                     ?Bld           (any letter followed by "Bld")
  1424.                     Create1
  1425.                     Browse
  1426.                     Flt
  1427.                     Main
  1428.                     Name
  1429.                     Some others...in  the registered version I will include
  1430.           a variable map.  If you  run into  really bizarre  problems, that
  1431.           could be the reason.  Rename you Dbase variables and try again.
  1432.  
  1433.                d>   Do  not  use  fields  with  the  first  6 letters being
  1434.           identical to one another.
  1435.  
  1436.                e>   Do not change the  Create.dbf  directly  (through Edit,
  1437.           etc) without being sure of what you're doing!!
  1438.  
  1439.                f>   At least have 1 indexed field in the database.
  1440.  
  1441.                g>   Don't hesitate to let me know what kind of improvements
  1442.           you'd like to see in future releases!
  1443.  
  1444.                g>   Give up...
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.                                                                          22
  1464.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.           Section C10.0       Registration
  1472.  
  1473.                Although  this  is  a  fully  functional  system,  there are
  1474.           several things that are left out.  Amongst them are:
  1475.  
  1476.           Specific technical documentation.
  1477.           Multiple Screens for Data Entry.
  1478.           User Classification.
  1479.           Data Values based on Formulas.
  1480.           Multi-field Sort Orders.
  1481.           Multi-Database capabilities.
  1482.           Sample Systems.
  1483.           Advanced Help Capabilities.
  1484.           Selection Criteria based on Functions.
  1485.           Better Report Handling.
  1486.           Faster running.
  1487.           Support.
  1488.  
  1489.           YES I plan to have a Dbase IV version...
  1490.           (If Ashton-Tate doesn't beat me to it)
  1491.  
  1492.  
  1493.                The AGS  has already  been used  in several  places, and for
  1494.           many functions.  They include:
  1495.  
  1496.           Inventory                               Order Entry Management
  1497.           Personnel                               Housing Title Transfers
  1498.           Housing Financial Analysis              Mailing List Maintenance
  1499.           Travel Agent Customer Maintenance       Union skills tracking
  1500.           Computer Maintenance                    Simple A/R
  1501.           Remote Data Entry                       Account Tracking
  1502.                                     Get the idea?
  1503.  
  1504.                As you can hopefully see, there  really is  no limit  to the
  1505.           type of  application here.  The version you have here has a limit
  1506.           of 50 records for each database placed on it.  By registering you
  1507.           version, you  would be  given an  unlimited use version.  In some
  1508.           cases, however, there  are  some  changes  which  would  make the
  1509.           system run  even smoother.   But  in order to make those changes,
  1510.           you have to have a special registered system,  which is delivered
  1511.           with  full  Dbase  code  intact!   (Shareware distributed version
  1512.           contains executable only...)
  1513.  
  1514.                But how do I  register?   (I hear  you cry)   Simple.   Send
  1515.           money (to support the Shareware concept) to:
  1516.  
  1517.  
  1518.                RL Coppedge, CDP                   CIS #:    72117,165
  1519.                446 Richmond Pk E 402A             Genie:    R.COPPEDGE1
  1520.                Richmond Hts, Ohio       Cleve Free-Net:     AE069
  1521.                44143
  1522.  
  1523.  
  1524.                                                                          23
  1525.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.           How much  should you  send?   I leave that up to a debate between
  1533.           you, your wallet and your conscience.  (C'mon, Conscience!!)
  1534.  
  1535.           A general suggestion:
  1536.  
  1537.                          single users:       Companies, Consultants, etc.
  1538.           Executable:         $50                      $100
  1539.           W/Code:             $100                     $250
  1540.  
  1541.                Code  version  also  includes  some  technical documentation
  1542.           explaining what it is you see.
  1543.  
  1544.           Obviously, the  more support  of this type, the more likely it is
  1545.           that I would continue to improve this system  along the shareware
  1546.           school of  thought.   There are a lot of improvement currently in
  1547.           the test version 2.1...
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.                                                                          24
  1586.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.           Section C11.0       Thanks and Thoughts
  1594.  
  1595.                This has been a  long time  in coming.   I  first thought of
  1596.           this back  when working  on a system on an Apple II in CP/M.  The
  1597.           inherent limitation of Dbase III+ I have always  thought was that
  1598.           without special programming, your data edits were always directly
  1599.           on the database file itself (I'm  sorry, but  Ctrl^Q doesn't make
  1600.           it  with  me).    Certainly  for  new users having to depend upon
  1601.           bizarre key combinations this could be difficult.  So I  tried to
  1602.           build  a  system  that  would  automatically  design,  build  and
  1603.           maintain the relationship between  the  memory  variable  and the
  1604.           database field it represents.
  1605.  
  1606.                With  such  capability,  it  was  relatively  easy  to  then
  1607.           generate menu's, options and  the  like.    Most  of  this  was a
  1608.           natural progression driven by my clients needs.  Some were simply
  1609.           my philosophy, which is  keep the  function digestible.   If not,
  1610.           the snazziest functions in the world aren't going to help.
  1611.  
  1612.                In   spite   of   Dbase's   many  additional  functions,  an
  1613.           overwhelming need for DBMS's lies not in the functions, but  in a
  1614.           smooth way to take ones ideas and requirements and move them from
  1615.           thought to paper to  keyboard to  database.   This will hopefully
  1616.           help.
  1617.  
  1618.                Unfortunately, the  documentation, although lengthy, stinks.
  1619.           I apologize to those who forced themselves through  it.   Keep in
  1620.           mind,  though,  that  with  the  system  understood,  the AGS can
  1621.           generate for you  a  complete  database  management/entry system,
  1622.           with the following features:
  1623.  
  1624.                1>   Entry screens in English
  1625.                2>   Sorted data
  1626.                3>   Browse capabilities
  1627.                4>   Data Verification
  1628.                5>   Help Screens
  1629.                6>   Word Processing Interface
  1630.                7>   Free-Form Query
  1631.                8>   Controlled Data Entry
  1632.                9>   Open Report Menu
  1633.                10>  Open Communications Menu
  1634.                11>  More, I'm sure
  1635.  
  1636.           ...all in  about 15  minutes.   Plus, if you maintain a number of
  1637.           systems (like I  do),  it  makes  maintaining  them  much easier.
  1638.           Training and documentation is also easier.
  1639.  
  1640.                The bottom  line is,  Does this  work for  you?  I guarantee
  1641.           that it probably won't for you.  I also guarantee that it you toy
  1642.           with it and play around, you might be pleasantly surprised....
  1643.  
  1644.           Later!!!                 Bob
  1645.  
  1646.                                                                          25
  1647.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.           Section C12.0       Limitations.
  1655.  
  1656.  
  1657.                I take no responsibility for any loss of assets, tangible or
  1658.           otherwise, which occur through the use of this software.   I will
  1659.           be more  than happy  to assist anyone in the use, but I refuse to
  1660.           be a sitting duck in a lawsuit.  If you do need help from  me, be
  1661.           polite and you're much more likely to get it.
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.                                                                          26
  1708.           Copyright 1988 - RL Coppedge, CDP All Rights Reserved
  1709.  
  1710.