Difference between revisions of "Midware TMWTable.BeforeCancel"

From Overbyte
Jump to navigation Jump to search
 
 
Line 8: Line 8:
  
 
Occurs before an application executes a request to cancel changes to the current record.
 
Occurs before an application executes a request to cancel changes to the current record.
 +
 
Write a BeforeCancel event to take specific action before an application carries out a request to cancel changes. BeforeCancel is called by the Cancel method before it cancels a dataset operation such as Edit, Insert, or Delete.
 
Write a BeforeCancel event to take specific action before an application carries out a request to cancel changes. BeforeCancel is called by the Cancel method before it cancels a dataset operation such as Edit, Insert, or Delete.
  
 
An application might use the BeforeCancel event to record a user’s changes and build a request to send updates to MidWare application server.
 
An application might use the BeforeCancel event to record a user’s changes and build a request to send updates to MidWare application server.

Latest revision as of 11:37, 24 May 2011

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

Definition

proporty BeforeCancel:TDataSetNotifyEvent;

Description

Occurs before an application executes a request to cancel changes to the current record.

Write a BeforeCancel event to take specific action before an application carries out a request to cancel changes. BeforeCancel is called by the Cancel method before it cancels a dataset operation such as Edit, Insert, or Delete.

An application might use the BeforeCancel event to record a user’s changes and build a request to send updates to MidWare application server.