Return the date a database file was last modified and closed.
XSharp.RT (in XSharp.RT.dll) Version: 2.16
Syntax Request Example
FUNCTION LUpdate() AS DATE
public static Date LUpdate()
The date of last change.
If there is no database file in use, LUpdate() returns a NULL_DATE.
By default, this function operates on the currently selected work area.
It can be made to operate on an unselected work area by specifying
it within an aliased expression or by calling the overload that accepts a workarea
parameter (a workarea number or alias ).
This example demonstrates that the modification date of a database file is not changed until the database file is closed:
2USE sales NEW
7USE sales NEW
This example uses an aliased expression to return the last modification date of a database file in an unselected work area:
1USE sales NEW
2USE customer NEW