Difference between revisions of "UPDATED()"

From Recital Documentation Wiki
Jump to: navigation, search
 
(Products)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
=UPDATED()=
 
 
 
==Class==
 
Screen Forms
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to check for data changes following reads
 
Function to check for data changes following reads
Line 31: Line 24:
  
 
==Products==
 
==Products==
Recital Mirage Server, Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 16:49, 8 December 2009

Purpose

Function to check for data changes following reads


Syntax

UPDATED()


See Also

@...GET, READ, SET QUERYMODE, CHANGE, EDIT, CREATE SCREEN, DBF()


Description

The UPDATED() function will return .T. if the last READ changed any of the data in the associated GETs. It will also return .T. if any changes to the table are made through a user designed form in CHANGE or EDIT mode. This function can be used to check if changes were made to the table so that appropriate procedures may be called if necessary.


Example

if updated()
do upd_master
endif


Products

Recital