Hi,
I have customer table, and this customer information is called in sales invoice form. Now if i delete any custom then it check first either customer information is exist in sales table or not, if yes then delete button give message that custom already exist, you can not delete.
Please guide me how to call this validation in button.
This is just to give you a flavor of how it works in simple case.
Assuming you have an item CUSTOMER_ID, table CUSTOMER_INFO and a button called DELETE.
While in the design mode of your page;
It’s just a sketch you may want to accommodate to your needs.