Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Grumpfish Library 3.2 - <b>fotocopy()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FOTOCOPY()

    FOTOCOPY() simply copies the currently selected record into up to
    four other work areas.

    Syntax

    FOTOCOPY(<alias1> [, <alias2> [, <alias3> [,<alias4>]]])

    Parameters

    <alias1>..<alias4> are character strings representing the work areas
    that you wish to copy the selected record to.  Anything past
    <alias1> is optional.  You could easily modify this to accept more
    than four aliases.

    Return Value

    FOTOCOPY() returns an integer representing the number of aliases
    into which the record was successfully copied.

    Notes

    FOTOCOPY() loops through all of the fields in the target database to
    ensure that they exist in the source database. If a field does
    exist, the type of the source and target fields are also verified.
    If everything matches, a blank record is appended to the target
    database on the first loop through, and then each field is REPLACEd
    as found.

    Sample Usage

    USE customer              
    COPY STRU TO cust1        
    COPY STRU TO cust2        
    FotoCopy('cust1', 'cust2')

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