Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Guide To CA-Clipper - <b>lupdate()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 LUPDATE()
 Return the last modification date of a database (.dbf) file
------------------------------------------------------------------------------
 Syntax

     LUPDATE() --> dModification

 Returns

     LUPDATE() returns the date of the 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 the
        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 opened in an unselected work area:

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

 Files   Library is EXTEND.LIB.


See Also: FIELDNAME() LASTREC() RECSIZE()

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