Hi,

You can override the "modified" method of Name field on the data
source of form.

public void modified() {

CustTable Customers;              
;
Super();

SELECT Customers WHERE Customers.Name == CustTable.Name;
if(Customers)
{
  if(box::yesno("Do you want to
continue?",DialogButton::Yes,"Continue?","") == DialogButton::No)
  {
   CustTable_ds.delete();   // delete current record from data source
  }
}
}

Regards,

Anil Ozay





Yahoo! Groups Links

Reply via email to