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
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

