Difference between revisions of "Midware TMWTable.OnNewRecord"

From Overbyte
Jump to navigation Jump to search
 
 
Line 3: Line 3:
 
== Definition ==
 
== Definition ==
  
  '''proporty''' OnNewRecord:TDataSetNotifyEvent;
+
  '''property''' OnNewRecord:TDataSetNotifyEvent;
  
 
== Description ==
 
== Description ==

Latest revision as of 12:24, 24 May 2011

Main page -> Midware component reference -> TMWTable -> OnNewRecord

Definition

property OnNewRecord:TDataSetNotifyEvent;

Description

Occurs when an application inserts or appends a new dataset record.

Write an OnNewRecord event handler to take specific actions as an application inserts or appends a new record. OnNewRecord is called as part of the actual insert or append process. An application might use the OnNewRecord event to set initial values for a record or as a way of implementing cascading insertions in related datasets.