[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 LUPDATE()
 Return the last modification date of a (.dbf) file
------------------------------------------------------------------------------
 Syntax

     LUPDATE() --> dModification

 Returns

     LUPDATE() returns the date of last change to the open database file in
     the current work area.  If there is no database file in USE, LUPDATE()
     returns a blank date.

 Description

     LUPDATE() is a database function that determines the date the database
     file in the current work area was last modified and CLOSEd.  By default,
     LUPDATE() operates on the currently selected work area.  It will operate
     on an unselected work area if you specify it as part of an aliased
     expression as shown in the example below.

 Examples

     .  This example demonstrates that the modification date of
        database file is not changed until the database file is closed:

        ? DATE()                  // Result: 09/01/90
        USE Sales NEW
        ? LUPDATE()               // Result: 08/31/90
        //
        APPEND BLANK
        ? LUPDATE()               // Result: 08/31/90
        CLOSE DATABASES
        //
        USE Sales NEW
        ? LUPDATE()               // Result: 09/01/90

     .  This example uses an aliased expression to access LUPDATE()
        for a database file open in an unselected work area:

        USE Sales NEW
        USE Customer NEW
        ? LUPDATE(), Sales->(LUPDATE())

 Files:  Library is EXTEND.LIB.

See Also: FIELDNAME() LASTREC() RECSIZE()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson