Announcements
Hi All,
In a form there are 5records in the grid which has no button control, I am modifying 2fields in the grid its calling two times the update method.
My requirement is whenever the update happened on the grid it should send the trigger ,but as of now its sending two triggers .
Which method I need to override to send single trigger.(so far 2records are creating in temp table instead I need to store 1 record).
That is the reason behind I posted in the forum. I tried out in close method but not sure will it affect in anycast.
Since this is a single record being written, I don't think there will be a decrease in the performance. I am not sure how else you can achieve this requirement.
If we place the logic in close method of a form, Will that decrease the performance.
I don't think any table method will work in that scenario. You can use the form > close method though. You can declare a boolean variable in the form class declaration. You can set this variable to true anytime you update a record in datasource > write method. In the form close method, you can write a condition to check for the value of the variable and write into the temp table if it is true.
Exactly, I am trying out that option
Whenever you modify the records and move to a different record, table update will be called. Are you trying to create a single record in the temp table every time you open the form and make changes (to a single record or multiple records)?
Updating single fields in 2 records.
Hi Pravasti,
Are you updating two fields in the same record and the table update is getting triggered on each modification?
André Arnaud de Cal...
294,033
Super User 2025 Season 1
Martin Dráb
232,854
Most Valuable Professional
nmaenpaa
101,158
Moderator