i have a form named as Form_1. In this form i have grid with datasoure of table WeekDetails
Now my question is:
when i change something in the grid which in form i need to make the log details on another table with field name and table name of weekdetails but without using modified field in table?
Do it in update() method (and insert(), if needed) of the table. You can check whether the field has changed by comparing the current and orig() buffer. For example:
You check this by using if (this.isFormDataSource()), whether the current update to the data is being done from the form as this is used as a data source.
Or place your update code at table level(by defining a method) and call it in the write method of formDataSource