Return the date a database file was last modified and closed.
XSharp.RT (in XSharp.RT.dll) Version: 2.4a
Syntax View Source
uArea AS USUAL
) AS DATE
public static Date LUpdate(
- Type: Usual
Specifies the work area name or number for a table from which the value must be retrieved.
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 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