home *** CD-ROM | disk | FTP | other *** search
/ DOS Wares / doswares.zip / doswares / DATABASE / R&R / RREADME < prev    next >
Encoding:
Text File  |  1994-08-24  |  21.3 KB  |  455 lines

  1. RREADME - R&R Report Writer for Xbase, Version 6.0
  2.  
  3. This file contains information about new features in R&R Version 6.0 and 
  4. corrections that were not available when the R&R documentation was printed.
  5.  
  6. CONTENTS
  7.   Summary of New Features in R&R 6.0 
  8.      (for users upgrading from previous versions of R&R)
  9.   Functions
  10.    - COPY Function
  11.    - LOOKUP Functions
  12.   Runtime
  13.    - /FD Command Switch
  14.    - /A Command Switch
  15.    - Report Output with no Records
  16.    - /I Documentation Change
  17.   Graphics Support
  18.    - Cropping
  19.    - F4 support
  20.    - Printing on Novell LAN
  21.   FoxPro Support
  22.    - Collation sequences
  23.    - Using FoxPro Extended Memory EXE
  24.   RRSETUP
  25.   SRT File Changes
  26.   Mouse Support
  27.  
  28. Summary of New features
  29. =======================
  30. The following sections describe the new features that are available in R&R 
  31. Version 6.0.  
  32.  
  33.  1.  Extended Memory Support
  34.  
  35.      R&R Version 6.0 is a DOS-extended version of the R&R Report Writer.
  36.      There are two new files included in this R&R release, RRP.EXE for the 
  37.      interactive and RRUNP.EXE for the runtime, which are protected mode 
  38.      executables.  To run the interactive R&R, you will need RR.EXE, RRP.EXE, 
  39.      and an RR.CNF and RRUSERS.DAT file.  To run the Runtime, you will need 
  40.      RRUNTIM.EXE, RRUN.EXE, RRUNP.EXE, an RR.CNF and Runtime Control File.
  41.      The files which should be executed are RR.EXE and RRUN.EXE;  do not 
  42.      directly execute the protected mode executables.
  43.      
  44.  2.  Inclusion of Graphics Image Files in Reports
  45.  
  46.      R&R Version 6.0 includes support for including graphics image files 
  47.      in your reports.  Image file types supported by R&R 6.0 are BMP 
  48.      (Windows Bitmap), TIF (Tagged Image File), PCX (PC Paintbrush),
  49.      EPS (Encapsulated PostScript), GIF (CompuServe Graphics Interchange 
  50.      Format), TGA (TARGA), WMF (Windows Metafile), WPG (WordPerfect 
  51.      Graphic), DCX (Intel FAX format), PCT (Macintosh PICT), and JPG
  52.      (Joint Photographic Experts Group).
  53.  
  54.      To insert an image file into your report, use the /Field Graphics 
  55.      Insert command.  This will put you into FILES mode so that you can 
  56.      select the graphic image file to insert into your report.  (See
  57.      page 108 in the Field Command Chapter of the "Using R&R" manual for
  58.      more details.)
  59.  
  60.  3.  Snaked Column Reports
  61.  
  62.      R&R Version 6.0 contains support for Snaked column reports.  In these
  63.      reports, the report data will flow from the bottom of one column to the 
  64.      top of the next column on the same page (similar to the format of a 
  65.      telephone book).  R&R will snake everything between the page header and  
  66.      page footer of the report.  This includes body lines, group headers, 
  67.      and group footer lines.  
  68.  
  69.      To enable snaked column support, select the "Columns Across:" entry  
  70.      from the /Print Options Record-layout and enter a value greater than 
  71.      1.  For example, a 4 in this field will print 4 snaked columns per 
  72.      page.  The Record Width field in this screen determines how wide each 
  73.      snaked column will be.  
  74.  
  75.      (See page 172 in the Print Command chapter of the "Using R&R" manual 
  76.      for more details.)
  77.  
  78.      Note that the snaked column reports is designed specifically for 
  79.      printer (and print file) output.  Snaked Columns will be displayed
  80.      properly in Print Preview.  For Print Destination Display, you will
  81.      see an approximation in successive column-by-column form (i.e. columns
  82.      will not appear side-by-side in /PDD).
  83.  
  84.  4.  Avery Labels Support
  85.  
  86.      R&R Version 6.0 allows easy preparation of Avery Labels reports, with
  87.      automatic definition of all print layout parameters.  Avery Labels can
  88.      be chosen from a menu by using the "Select label" entry from the 
  89.      /Print Options Record-Layout screen.  Choosing this option will cause 
  90.      R&R to display a menu of pre-defined labels, or allow you to specify
  91.      your own label settings.  Select your Avery Label by part number 
  92.      from the Select label menu.  R&R will then set all of your print 
  93.      options according to the specifications for that label.  This includes 
  94.      the page size and margins on the /Print Options Page-Margins screen, 
  95.      as well as record width and height, and records across.  Choose 
  96.      User-defined from the label list to make settings for a label not 
  97.      found in the list, or for any other reason.  (See page 171 in the
  98.      Print Command chapter of the "Using R&R" manual for more details.)
  99.  
  100.  5.  Report Templates
  101.  
  102.      Report Templates are partially complete reports that serve as starting 
  103.      points for other reports.  R&R 6.0 supports templates in their own 
  104.      libraries, recognizable by the RT1 extensions.  Templates and template
  105.      libraries have the same format as reports and report libraries except 
  106.      that templates do not require a master file.  All of the template 
  107.      operations are available in the /Report menu.  (See the Report Command 
  108.      chapter of the "Using R&R" manual for more details.)
  109.  
  110.  6.  Conditional Totals
  111.  
  112.      There is a new menu choice for /Field Total Options Condition.  
  113.      Selecting this allows you to choose a total field and enter a 
  114.      "condition expression."  The formula you enter here is in the same 
  115.      format as that of any valid R&R calculated field expression (condition
  116.      expressions may not themselves be total-related).  The relevant total 
  117.      is only updated if the specified condition is true.  (See the Field 
  118.      Command chapter of the "Using R&R" manual for more details.)
  119.  
  120.  7.  Report Annotations
  121.  
  122.      You can now attach 80-character descriptions to your reports with 
  123.      the /Report Annotate command.  You enter your annotation after the 
  124.      "Enter annotation" prompt; R&R will then display the annotation on 
  125.      the line following the report name in the report specification.  
  126.      R&R will save the annotation when you save the report, and it will 
  127.      appear on line 3 of the control panel when you highlight the report
  128.      in the report list.  The "Last Saved:" information about the report 
  129.      is now displayed on line two of the control panel.  (See the Report 
  130.      Command chapter of the "Using R&R" manual for more details.)
  131.  
  132.  8.  Calculated and Total Field Annotations
  133.  
  134.      /Field Calculate Annotate and /Field Total Annotate allow you to 
  135.      enter an 80-character description for a calculated or total field.  
  136.      If you annotate a calculated or total field, you will see the 
  137.      annotation in the control panel when that field is highlighted in a 
  138.      field list, or on the layout.  You can also modify these annotations 
  139.      from the Field Modify (F4) box, and they are displayed in report 
  140.      specifications. (See the Field Command chapter of the "Using R&R" 
  141.      manual for more details.)
  142.  
  143.  9.  Auto-creation of totals from marked fields 
  144.  
  145.      The menu presented after marking a group of fields in the report 
  146.      layout now includes a Total command, with which you can create totals 
  147.      for all of the marked fields.  You specify the total type (sum, count, 
  148.      etc.) and the reset level for the new totals.  If either of these 
  149.      settings is not allowed for one of the marked fields, an error message
  150.      identifying the field is given and the cursor is positioned to the 
  151.      troublesome marked field after the error message is acknowledged.  
  152.  
  153.      After the totals are created, they are automatically inserted into a 
  154.      new band line of the appropriate type (e.g. summary area for grand 
  155.      totals), and at the top of its band area.  The totals are positioned 
  156.      "below" the fields being totaled, assuming a columnar report format.  
  157.      (See page 115 in the Mark Command chapter of the "Using R&R" manual 
  158.      for more details.)
  159.  
  160. 10.  Reverse Scrolling in Preview and in Print to Display
  161.  
  162.      Reverse scrolling is available in /Print Preview and in /Print 
  163.      Destination Display output.  There is now a PgUp key entry in the 
  164.      Preview "help" text.  Special keys "cursor up", "cursor down", 
  165.      "page up", and "page down" are active during the print to display
  166.      menu.  Cursor down has the same effect as does "Line", page down has 
  167.      the same effect as does "Screen", cursor up moves back one line, and 
  168.      page up moves back one screen.  (See pages 178 and 411 of the
  169.      "Using R&R" manual for more details.)
  170.  
  171. 11.  Print Current Page being Previewed
  172.  
  173.      You can now print the current page being displayed by the /Print
  174.      Preview command.  This is done via Control-P.  (See page 182 of the 
  175.      "Using R&R" manual for more details.)
  176.  
  177. 12.  Data Dictionary Enhancements
  178.   
  179.      R&R Version 6.0 supports several new data dictionary features.  In 
  180.      addition to the existing TABLE_NAME, FIELD_NAME, COMMENT, and 
  181.      EXTENDED data dictionary fields, R&R now supports FORMULA, 
  182.      FIELD_HIDE, FILTR_HIDE, and INST_HIDE fields.
  183.  
  184.      FORMULA is a memo field used to specify the formula for a "predefined" 
  185.      calculation. It must consist of a valid R&R calculated field formula,
  186.      containing only references to fields in the specified TABLE_NAME,
  187.      constants, udf's, and built-in functions.
  188.  
  189.      The other new fields are all logical fields.  Fields for which 
  190.      FIELD_HIDE is "true" will be treated by R&R as if they were not 
  191.      present in the specified table. Fields for which FILTR_HIDE is "true" 
  192.      will not be available in the interactive query interface presented by 
  193.      the runtime.  Fields for which INST_HIDE is "true" will not appear in 
  194.      instant report layouts, or in layouts created via the Global Layout 
  195.      commands.  (See the Distributing Reports chapter of the "Using R&R" 
  196.      manual for more details.)
  197.  
  198. 13.  Additional Functions
  199.  
  200.      The following functions have been added in R&R Version 6.0:  
  201.  
  202.      AGED(date,days1,days2) returns True if date is aged between days1 
  203.           and days2 number of days, inclusive.
  204.      FUTURE(date) returns True if date is in the future.
  205.      HALF(DATE) returns the calendar half-year of the date specified.  
  206.      LIBNAME() returns the pathname of the current report library.  
  207.      MONLEN(Date) returns the length in days of the month in date.
  208.      OVER(date, days) returns True if date is over days days old
  209.      NDOW(date, dow) returns the date of the day indicated by the next 
  210.           dow date following date. 
  211.      PAST(date) returns True if date is in the past. 
  212.      PDOW(date, dow) returns the date of the day indicated by the most 
  213.           recent dow date preceding date.
  214.      REPNAME() returns the name of the current report, or the string 
  215.          "None" if there is no name defined for the current report.
  216.      UDFNAME() returns the pathname of the UDF Library that is currently
  217.           open for this report, or the string "None" if there is no UDF 
  218.           file currently open.
  219.  
  220.      (See the Calculated Field Expressions chapter of the "Using R&R" 
  221.      manual for more details.)
  222.  
  223. 14.  Instant Report Field Selection
  224.  
  225.      When creating a report, R&R will generate an instant report and ask 
  226.      if you would like to use the instant report.  The valid answers to the 
  227.      prompt are No, Yes and a new option, Select.  If you pick Select, the 
  228.      screen is cleared and a multi-select field list is displayed.  Select
  229.      multiple fields from this list by hitting the space bar to select/
  230.      deselect the currently highlighted field.  An item is selected if 
  231.      there is a check mark in front of the name.  When you are done 
  232.      selecting the fields for the instant report, press Enter.  You will 
  233.      then see an instant report with a body line consisting only of the 
  234.      fields you had selected from this menu.  (See the Report Command 
  235.      chapter of the "Using R&R" manual for more details.)
  236.  
  237. 15.  Changing the Reset Level of Selected Total Fields
  238.  
  239.      R&R will now allow you to change the reset level for a group of totals.  
  240.      This is useful when you need to insert, delete, or change group fields 
  241.      in your report.  Instead of editing a large number of totals to change 
  242.      the total reset level, you can use the /Field Total Batch-Reset-Change 
  243.      command to select multiple total fields and change their reset levels 
  244.      in a single operation.  (See the Field Command chapter of the "Using 
  245.      R&R" manual for more details.)
  246.  
  247. 16.  New Runtime Control Field and User Prompts in Runtime
  248.  
  249.      Inserting a '?' in specified runtime control fields will cause the
  250.      runtime to prompt the user for the values to be used for those fields
  251.      in the report.  Relevant fields are RI_PRINTER, RI_SCOPE, RI_QUERY, 
  252.      and a new runin field, RI_REPPICK. 
  253.  
  254.      RI_REPPICK is a single-character field.  If this field contains a '?',
  255.      R&R will prompt the user to select a report from the RI_LIBRARY 
  256.      library.  
  257.  
  258.      (See the Developing Applications section of the "Using R&R" manual for 
  259.      more details.)
  260.  
  261. 17.  RRSETUP Changes
  262.  
  263.      The Defaults screen in RRSETUP.EXE has been broken up into two screens, 
  264.      Files-Directories and Other-Defaults.  Default image directory, Default 
  265.      image extension, and Default template library have been added to the 
  266.      Files-Directories screen, and Pages of backward scrolling information 
  267.      has been added to the Other-Defaults screen.  (See Appendix B of the 
  268.      "Using R&R" manual for more details.)
  269.  
  270. 18.  New Printer Drivers
  271.  
  272.      There are several new printer drivers available with this release:
  273.      the Canon BJ-300, HP4Si and several landscape drivers for the Canon
  274.      LBP series of printers.  You can use RRSETUP to configure and select
  275.      these new drivers.
  276.  
  277. 19.  New FIFs
  278.  
  279.      There are several new font files available with this release: the
  280.      HP DeskJet 550 (landscape and portrait) and the HP LaserJet4Si (PCL
  281.      mode and PostScript mode using code pages 437 and 850) fonts are all
  282.      available.  Use RRINSTAL to select these new font files.
  283.  
  284. 20.  Converting Indexes used in Reports
  285.  
  286.      If you are changing your applications to convert from using an 
  287.      untagged index format to tagged index files (e.g. converting NTX 
  288.      indexes to NSX), and have reports which had been saved using the old 
  289.      index files, you just need to set the default index extension in your
  290.      CNF file to the new index type and ensure that your tag name matches 
  291.      the name of the index.  If this is the case, when R&R 6.0 retrieves 
  292.      your old report, it will automatically use the new tagged index file.
  293.  
  294. Functions
  295. =========
  296.  
  297. 1.   COPY() Function
  298.  
  299.      Do not attempt to sort a report by selecting a calculated sort field 
  300.      whose expression includes the COPY function. R&R will not sort 
  301.      multiple copies of a report differently.
  302.  
  303. 2.   LOOKUP() Functions
  304.  
  305.      All the LOOKUP functions pay attention to the /Print Options Record-
  306.      Layout "Print Which Records" setting when they determine which records 
  307.      to return from a file. In addition, if the arguments to the functions 
  308.      do not include full paths for the database or index files, R&R will 
  309.      look for the files in the same directory as the master database used 
  310.      in the report.  This is the only directory it will search.
  311.  
  312.  
  313. Runtime
  314. =======
  315.  
  316. 1.   /FD Command Switch
  317.  
  318.      The /FD (Field Description) command switch is available in the Runtime,
  319.      enabling you to specify or override Runtime use of a data dictionary 
  320.      file.  For example, the following command used from within your 
  321.      application program uses the runtime control file RRUNIN and selects 
  322.      the dictionary file CUSTDICT.DBF:
  323.  
  324.                RUN RRUNTIME RRUNIN CUSTDICT/FD
  325.  
  326.      (See the Distributing Reports chapter of the "Using R&R" manual for 
  327.      more details on using data dictionary files with your reports.)
  328.  
  329. 2.   /A Command Switch
  330.  
  331.      In order to identify what area of memory to swap out to a disk file, 
  332.      RRUNTIME attempts to identify its caller. Under some circumstances, 
  333.      it may not be able to identify its calling program. In such cases, the 
  334.      new /A command switch may be useful. If you are calling Runtime from 
  335.      an interactive database program, such a dBASE, FoxBase, or FoxPro, 
  336.      RRUNTIME will usually identify its calling application correctly and 
  337.      swap it to disk to free as much memory as possible for RRUN. If you 
  338.      are calling Runtime from an executable program compiled with Clipper 
  339.      or another programming language, you can identify your program to 
  340.      Runtime by appending its name and /A to the command line you use to
  341.      invoke RRUNTIME. For example, if your application is a C program named
  342.      PAYABLE and its runtime control file is RRUNIN.DBF, you might invoke 
  343.      the Runtime version of R&R via a command line such as:
  344.  
  345.                RRUNTIME RRUNIN 1 PAYABLE/A
  346.  
  347.      This ensures that RRUNTIME identifies memory belonging to PAYABLE as 
  348.      the memory that should be swapped to disk before it invokes RRUN to 
  349.      produce the report.
  350.  
  351. 3.   Report Output with No Records
  352.  
  353.      You can now override the Runtime feature which allows printing of
  354.      title and summary lines on reports when no records are found.  To
  355.      cause the Runtime to not print any information when no records are
  356.      found, execute the Runtime with the /H switch.
  357.  
  358. 4.   /I Documentation Change
  359.  
  360.      The documentation of the /I switch for the Runtime states that an 
  361.      argument of "USER2/I" will result in a status file named #RRUSER2.DBF
  362.      and temp files of the form #RRUSER2.*.  This should state instead that
  363.      the status file is called RRUSER2.DBF and temp files are of the form
  364.      #RUSER2.*. 
  365.  
  366.  
  367. Graphics Support
  368. ================
  369. There are two additions to the documentation of the support for graphics 
  370. image files, and one additional item to note about this support.
  371.  
  372. 1.   Cropping
  373.  
  374.      In addition to Stretch and Zoom scaling options, R&R 6.0 also supports
  375.      a Crop scaling option.  When scaling is set to "Crop" for an image
  376.      being inserted, the image is inserted at its original size, and no 
  377.      image scaling is performed.  If you change the height and width of the
  378.      image to be smaller than those of the original image, only the top left
  379.      portion of the image that fits into the specified dimensions is 
  380.      inserted and printed.
  381.  
  382. 2.   F4
  383.  
  384.      When using F4 on an image whose scaling option is set to Zoom,  
  385.      selecting either height or width will cause R&R to prompt for both
  386.      parameters.  The resultant values may be adjusted by R&R to maintain 
  387.      the proper aspect ratio for the image.
  388.  
  389. 3.   Printing on Novell LAN
  390.  
  391.      If you are experiencing problems printing graphics in Novell LAN
  392.      environments, you may need to modify your CAPTURE statement to 
  393.      include the NoTabs option.  (See the Utilities chapter of your
  394.      Novell "Print Server" manual for more details about this option.)
  395.  
  396. FoxPro Notes
  397. ============
  398.  
  399. 1.   Collation sequences
  400.  
  401.      FoxPro 2.5a and 2.6 CDX's contain collation information and translation 
  402.      of index keys based on the selected collation sequence - Spanish, Dutch, 
  403.      General, Icelandic, Machine (the default), Nordan (Norwegian/Danish), 
  404.      and Swefin (Swedish/Finnish).  Using CHARACTER keys for any sequence 
  405.      other than Machine is not supported by R&R 6.0, since that changes the 
  406.      format of the index key values within the CDX.  
  407.  
  408. 2.   Using FoxPro Extended Memory EXE
  409.  
  410.      If you encounter "Insufficient Memory" errors when trying to 
  411.      execute the R&R Runtime with FoxPro's FOX.EXE or FOXPROX.EXE, this may 
  412.      be due to FoxPro having allocated all of extended memory or DOS memory,
  413.      leaving none for the DOS-Extended R&R.  You can resolve this through
  414.      the use of the /M switch on FOX, or with the MEMLIMIT or DOSMEM
  415.      variables in your FoxPro CONFIG file, or by executing FOXPRO.EXE
  416.      instead of FOXPROX.EXE.
  417.  
  418.  
  419. RRSETUP
  420. =======
  421.  
  422.      There is one addition to the documentation of RRSETUP.  There is a new
  423.      option, "Xbase platform limits CHAR fields to 254 characters?".  The 
  424.      default is "Yes".  This change removes the restriction that your 
  425.      default index extension had to have been NTX for you to use RI_FILTER 
  426.      expressions of greater than 254 characters.  
  427.  
  428.  
  429. SRT File Changes
  430. ================
  431.      If you are using an .SRT file to change the way in which R&R sorts and
  432.      compares character data, note that there is a new RR.SRT variable, 
  433.      CHARSET, that allows you to specify which IBM Code Page your computer 
  434.      is using.  The value of this variable controls how R&R sorts and 
  435.      compares the last 128 characters in a font's character set.  
  436.      Instructions for using this and other SRT variables are found in 
  437.      the RR.SRT file itself.
  438.  
  439.  
  440. Mouse Support
  441. =============
  442.      The description for changing field width in Appendix E of the 
  443.      "Using R&R" manual (page 458) states that you need to drag the first
  444.      character in the field to increase or decrease width.  The character
  445.      to be dragged depends on field type and alignment.  For right-aligned
  446.      character fields or numeric fields, you need to drag the first
  447.      character in the field.  For left or center aligned character fields
  448.      or for left, right, or fully justified word-wrap fields, you need to 
  449.      drag the last character in the field.
  450.  
  451.  
  452. R&R report Writer for Xbase, DOS Version 6.0
  453. RREADME Version 6.0
  454.  
  455.