C5_LUPDATE

 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()



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.