Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SuperLib 3.50 - function sfrr_hcode() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FUNCTION SFRR_HCODE()

  Short:
  ------
  SFRR_HCODE() Output report definition to .PRG code

  Returns:
  --------
  Nothing

  Syntax:
  -------
  SFRR_HCODE()

  Description:
  ------------
  SFRR_HCODE will present you with a menu-driven
  interface to allow selection of output options for a hard-coded
  .PRG file for a given saved report.

  You will be presented options for :
     SOURCE Report Definition and
     OUTPUT .PRG file name (you choose)

  Once these are selected, you may do a translation
  into .PRG code. The .PRG will do all of the setup needed to call
  SFRR_PMAIN() - the main print routine called by both REPORT()
  and QUICKREPORT().

  The .PRG will no longer require the SFREPORT.DBF in
  order to produce the report.

  This has been written as a function, so you may
  incorporate it easily.

  To produce a stand-alone .EXE to generate report
  .PRGs, you could do the following:

     initsup()

     USE SFREPORT

     sfrr_hcode()

  The resulting .PRGs must be called with DO <prgname>
  If you like, you could make them into a function by issuing a
  by issuing a FUNCTION <function name> at the top.


  Examples:
  ---------
   initsup()
   USE SFREPORT
   sfrr_hcode()

  Source:
  -------
  R_HCODE.PRG

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson