home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / datamage.zip / HELPFILS.ZIP / AM_RPT_T.HLP < prev    next >
Text File  |  1991-07-04  |  8KB  |  157 lines

  1. APPLICATIONS MAKER - HELP FOR REPORT TYPES
  2.  
  3. The items that can be initialized from the REPORT screen are:   DATA,
  4. HEADING, IF, LABEL, GOTO, PRINT CONTROL and BREAK
  5.  
  6. DATA TYPES:
  7.  
  8. DATA  items on the INPUT screen can be moved to the REPORT screen  by
  9. locating  your cursor on any space highlighted by the  targeted  item
  10. and pressing return, then opting to print the item.  The screen  will
  11. toggle  to the REPORT.  Position your cursor where you wish the  item
  12. to appear and press return.  This will place the content of the INPUT
  13. item  on the report as  it is when the APPLICATION executes  it.  The
  14. INPUT item may be changed by subsequent formulas, etc.
  15.  
  16. Any item appearing on the REPORT screen may be moved or deleted  from
  17. the REPORT screen.  Only items initiated on the REPORT screen may  be
  18. edited from the REPORT screen.  Data items from   the  INPUT   screen
  19. must be edited from there.
  20.  
  21. When an item on the INPUT screen is edited all of it's placements  on
  22. the REPORT screen are lost and you will need to re-position the  item
  23. on the REPORT screen wherever you desire it to be printed.
  24.  
  25. Within  the  DATA TYPES are DISK DATA, elements of the  USER  NUMERIC
  26. ARRAY, elements of the USER STRING ARRAY and COUNTER FIELDS.
  27.  
  28. DISK DATA:  With the DISK DATA items you can place data in any of the
  29. eight  possible  datafiles onto the report screen.  When you  opt  to
  30. initialize a DATA item the program will first proffer a window filled
  31. with the currently loaded datafiles.  Then, according to your choice,
  32. it will offer a menu of the fields in the datafile from which you may
  33. select the data you wish to place on your report.
  34.  
  35. USER NUMERIC ARRAY:  With the USER ARRAY items you select the element
  36. of the USER ARRAY to print, it's size and formatting.  The USER ARRAY
  37. is  provided  to store transient numeric data.  For a  more  complete
  38. explanation of the USER ARRAY see the docs for APPLICATIONS MAKER.
  39.  
  40. USER STRING ARRAY:  With the USER STRING items you select the element
  41. of the USER STRING ARRAY to print, it's size and justification.   The
  42. USER  STRING  ARRAY is provided to combine and process  STRING  data.
  43. For a more complete explanation of the USER STRING ARRAY see the docs
  44. for APPLICATIONS MAKER.
  45.  
  46. COUNTER FIELDS:  With the COUNTER items you can place one of the  two
  47. COUNTERS in the currently loaded record in any of the eight  possible
  48. datafiles  onto  the  REPORT  screen.   You  select  the  length  and
  49. formatting  for  the  printing  of the  COUNTER.   The  COUNTERS  are
  50. recorded  in  MARKER FILES written by the BASE program.  To  use  the
  51. COUNTER  items  you must load a MARKER FILE for the  target  datafile
  52. with a LOAD MARKER item on the INPUT SCREEN.
  53.  
  54. HEADING TYPES:  With the HEADING type you enter your heading.
  55.  
  56. IF  TYPES:  With the IF items on the REPORT SCREEN you have the  same
  57. large range of data that you may test offered by the IF items on  the
  58. INPUT SCREEN.  The REPORT screen IF items have only one argument, and
  59. it must be a FORWARD GOTO.  More complex conditional processing  must
  60. be accomplished from the INPUT screen.
  61.  
  62. LABEL  TYPES:   With  the LABEL types you establish a  label  on  the
  63. REPORT  SCREEN  to  which  you may go, or  BRANCH.   Control  may  be
  64. diverted to the label via a GOTO item or an IF item.
  65.  
  66. GOTO ITEMS:  With the GOTO items you can direct the report to stop at
  67. the GOTO item, and begin again at the target LABEL.
  68.  
  69. PRINT  CONTROL  ITEMS:   With the PRINT CONTROL items  you  can  send
  70. control  codes  to  your printer, or select  the  active  printer  on
  71. systems  having  multiple  printers attached to  them.
  72.  
  73. To switch printers use a PRINT CONTROL item, and enter S as the first
  74. character  in the control string, followed by a space and  a  number,
  75. one  through four.  Use of multiple printers comes in REAL  handy  in
  76. situations where, for example, you wish to print checks.  This allows
  77. you  to keep plain paper on your default printer, and the  checks  on
  78. another.  You don't have to change the paper to the checks.
  79.  
  80. CONTROL CODES FOR YOUR PRINTER - LET'S GET FANCY:
  81.  
  82. The  manufacturers  of  printing hardware  are,  perhaps,  the  least
  83. standard-oriented   of  those  involved  in  the  production  of   PC
  84. peripherals.  Other than the fact that it will hook up to a  standard
  85. parallel/serial  port  and  commence operations in  the  standard  10
  86. c.p.i. mode, little is guaranteed.
  87.  
  88. Some software houses distribute "printer libraries" whose purpose  it
  89. is  to supply their software with the correct code to cause  a  given
  90. response on a given printer.
  91.  
  92. Those who have printers that have not gained sufficient popularity to
  93. be  included  in the drivers offered are out of luck  and,  when  you
  94. realize that the same manufacturer is as likely as not to  completely
  95. change   his  control  code  assignments  between  models  the   true
  96. intractability of the situation becomes apparent.
  97.  
  98. I don't care if you have a color laser printer or a typewriter with a
  99. printer  port  on  the side,  and neither  does  APPLICATIONS  MAKER.
  100. The  capabilities  of  your hardware are all  neatly  listed  in  the
  101. booklet that came with it.
  102.  
  103. If  you  wish to do fancy things with your printer and also  to  your
  104. report  all you need do is to look up the fancy thing in question  in
  105. your booklet and from it ascertain the CONTROL CODES that cause it to
  106. happen,  and  to cease to happen (unless you wish the  affect  to  be
  107. present  for  the  entire report, such as font  selection)  and  then
  108. decide  where  in your report you wish to select/deselect  the  fancy
  109. feature.
  110.  
  111. Perhaps  the  simplest  printer directive is pagination  and  it  is,
  112. thankfully, standard on almost all printers you'll find connected  to
  113. PC  hardware.  In order to inform the printer that you desire  a  new
  114. page all you need do is to send it an ascii code twelve.
  115.  
  116. So, when we come to the place in our report where we desire to  begin
  117. a  new  page we need to send the printer a CONTROL CODE  twelve.   To
  118. accomplish  this,  position your cursor in the REPORT screen  at  the
  119. place you wish pagination to occur and press return.
  120.  
  121. Opt to enter a control code.  You will be prompted for the code(s) to
  122. send.    APPLICATIONS  MAKER accepts control codes in  their  DECIMAL
  123. format.   So, to select pagination simply enter 12.   You  will  then
  124. be prompted for an explanation of your control code, enter NEW PAGE.
  125.  
  126. Printer  codes,  no matter how long, occupy one space on  the  report
  127. screen.  They are represented by a character that looks like a tall P
  128. with  a  very small t beside it.  If you have an  older  monitor  you
  129. probably  won't  be able to see what it is, but you will be  able  to
  130. identify it.
  131.  
  132. You can place your cursor on this space at any time and press  return
  133. to  get the status of the item.  Both the codes and your  description
  134. will  be  displayed.   Though not actually printed, the  entry  of  a
  135. printer control code will increment the count of report items.
  136.  
  137. Most control codes require delimiters.  Usually, the "signal" to  the
  138. printer  that  the  following  data  is  to  be  considered   control
  139. information is the escape character which is invisible on your screen
  140. and represented by ascii code twenty-seven.
  141.  
  142. In most cases the terminating "signal" is the carriage return  which,
  143. if  printed to your screen, would cause the cursor to return  to  the
  144. first  space  in the current line and is represented  by  ascii  code
  145. thirteen.
  146.  
  147. So,  your  control  codes are quite likely  to  end  up  "sandwiched"
  148. between a code 27 and a code 13.  Don't feel badly if you need two or
  149. three tries to get the code to take effect, it happens to us all.
  150.  
  151. BREAK  ITEMS:  With the BREAK ITEMS you specify the end of a  segment
  152. of  your  report.  These items give you the ability  to  divide  your
  153. reports  into  parts.  To execute a part of the report you use  a  DO
  154. PRINT item on the INPUT SCREEN, giving the label associated with  the
  155. section  of  the  report you wish to print at that  time.   When  the
  156. segment of the report you wish to print is finished you place a BREAK
  157. item on your report to return control back to the INPUT screen.