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
Pingback: SP Development Functions | Viva Clipper !
Pingback: SP Functions | Viva Clipper !