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

  1. APPLICATIONS MAKER - REPORT SCREEN HELP
  2.  
  3. If  you  have not read the help for the INPUT screen please  press  2
  4. now,  then  press S or s to TOGGLE THE SCREEN to  the  INPUT  screen.
  5. Then press your H or h key to view the help for the INPUT screen.
  6.  
  7. APPLICATIONS  MAKER's  reports are NOT  automatically  executed.   To
  8. execute  a  report, or segment thereof, with APPLICATIONS  MAKER  you
  9. will need to use a DO PRINT item on the INPUT screen.
  10.  
  11. This item must have a label as an argument.  The program searches the
  12. report  screen for the FIRST occurrence of that label,  and  executes
  13. until it encounters a BREAK item, or the end of the report.   Control
  14. then returns to the INPUT screen, at the next item past the DO PRINT.
  15.  
  16. The  operation  of  the REPORT screen is perhaps too  much  like  the
  17. operation of the INPUT screen as users are often found to make errors
  18. due  to  their similarity.  The upper left corner of the  dialog  box
  19. lists  the  current  screen.  Be certain to check  it  before  taking
  20. action.
  21.  
  22. CONTROLLING YOUR REPORTS:
  23.  
  24. Since  this  program  supports multiple  reports  generated  from  an
  25. application and stores them on the same screen it must require you to
  26. specify the location in the report screen of the desired report,  and
  27. the  width of same.  To accomplish this you will use a PRINT  CONTROL
  28. item to set the REPORT OFFSET and the REPORT WIDTH.
  29.  
  30. In applications having multiple reports you will need to establish  a
  31. LABEL  on  the  report  screen to which you  will  go  to  start  the
  32. particular report you wish to print.  This LABEL should ALWAYS appear
  33. in the start column of the desired report.  When executing a DO PRINT
  34. item  on the INPUT screen, you will be able to find any LABEL on  the
  35. report screen, regardless of the current settings of the OFFSET.
  36.  
  37. The start LABEL will set the report offset to the column in which  it
  38. appears  for you when it is found.  The WIDTH will then be set to  78
  39. characters.  You should get into the habit of setting the OFFSET  and
  40. the  WIDTH  via  the PRINT CONTROL items directly  after  your  start
  41. label.  This way you will be certain to get the desired results.
  42.  
  43. After  beginning your report any LABEL or BREAK items not within  the
  44. boundaries  set  by  the OFFSET and the WIDTH will not  be  found  or
  45. executed.  Attempting  to branch to a label that is  not  within  the
  46. current  boundaries  will result in a PRINT LABEL  NOT  FOUND  error.
  47.  
  48. Only  the  desired section of the report screen will be  filled  with
  49. data.   The CHECK REPORT items on the INPUT screen will allow you  to
  50. view the entire report and you can use the BLANK REPORT items on  the
  51. INPUT screen to remove data from the report, or any section thereof.
  52.  
  53. ENDING YOUR REPORT:
  54.  
  55. Applications  Maker  actually  prepares the segment  of  your  report
  56. delimited  by the initial label and the next break item executed,  or
  57. the end of the report, and places it in  space reserved for it on the
  58. disk  drive.   This is necessary in order to allow you  to  view  the
  59. report via the VIEW REPORT input screen item.
  60.  
  61. When  the report is printed the program simply sends the report  file
  62. to the printer.  Character by character.  When a GOTO is  encountered
  63. the  sending  of the report stops there  and resumes   wherever   the
  64. target  label  is located.  If you do not  properly   terminate  your
  65. report you will end up sending all of it to the printer.
  66.  
  67. Reports usually fall into two classes:  Those that comprise an entire
  68. page (or pages) and those that fill only a section of a page.   These
  69. two types of reports are terminated in two different ways.
  70.  
  71. If you are printing a segment of a report you should drop down to the
  72. FIRST  space on the next line, or the line after that if you wish  to
  73. leave  a  blank, and place a BREAK ITEM there.  This will  cause  the
  74. report segment to terminate without printing any more spaces.
  75.  
  76. For the whole page reports you'll want to send your printer an  ascii
  77. twelve  to go to the beginning of a new page.  The very  next  screen
  78. item  needs to be a BREAK.  When a control code is sent and the  next
  79. item is a BREAK the program will not print any intervening spaces.
  80.