Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>label form</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LABEL FORM


Syntax:     LABEL FORM <file1>/(<expC1>) [<scope>] [FOR <condition>]
            [WHILE <condition>] [SAMPLE] [TO PRINT] [TO FILE
            <file2>/(<expC2>)]

Purpose:    To display labels from a definition held in a (.lbl) file.

Argument:   <file1> is the name of the (.lbl) file that contains the
            FORM definition of the LABEL.  If the extension is not
            specified (.lbl) is assumed.

Options:    Scope: The <scope> is the portion of the current
            database file to display labels.  The default is ALL.

            Condition: The FOR clause specifies the conditional set
            of records to LABEL FORM within the given scope.  The WHILE
            clause specifies the set of records meeting the condition
            from the current record until the condition fails.

            Print: The TO PRINT clause echoes output to the printer.

            File: The TO FILE clause echoes output to the specified
            filename, <file2>.  If an extension is not specified, (.txt)
            is added.

            Sample: The SAMPLE clause displays test labels as rows
            of asterisks.  Each test label has the same number of
            columns and rows as the label definition.  Then following
            each test label display is the query, "Do you want more
            samples?"  Answering "Y" repeats the display of the test
            label.  Answering "N" causes LABEL FORM to display the
            actual labels for the specified scope and condition.

Usage:      LABEL FORM displays labels using a definition stored in
            (.lbl) file.  The (.lbl) can be created using RL.EXE.

            The contents of a LABEL field must be a valid expression.
            Note that Clipper does not support an expression list in the
            LABEL FORM contents.  Anything following a comma in a LABEL
            FORM is ignored.

Library:    CLIPPER.LIB


----------------------------------- Example --------------------------------

   USE Sales INDEX Sales
   LABEL FORM Sales TO PRINT


See Also: REPORT FORM Lbl_load() Lbl_save() RL.EXE

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