Check updated gets in a group
Posted: Fri Jul 08, 2011 11:44 pm
Hello Roger,
I have dialogs with tabpages that contain on the first tabpage the browser of the data, and on the second the details. When the second tab gets focus, I read the content of the row in variables for editing. When the user is ready, there is a "save" button to write the var's back to the database. Also I take care, that nobody in the network has changed the record in the meantime. For this I save the actual record bevor editing and compare it if changed bevore I write the new data back.
Now I would like to determine if gets of the second details tabpage have been updated, so that I can write them back automatically without the save button when changign to the first tab. So the record would be not lost if a user forget to click the save button. A dc_updated(cGroup) when focus get lost on the second tabpage would be nice. Or do you have another idea ?
regards
Rudolf
I have dialogs with tabpages that contain on the first tabpage the browser of the data, and on the second the details. When the second tab gets focus, I read the content of the row in variables for editing. When the user is ready, there is a "save" button to write the var's back to the database. Also I take care, that nobody in the network has changed the record in the meantime. For this I save the actual record bevor editing and compare it if changed bevore I write the new data back.
Now I would like to determine if gets of the second details tabpage have been updated, so that I can write them back automatically without the save button when changign to the first tab. So the record would be not lost if a user forget to click the save button. A dc_updated(cGroup) when focus get lost on the second tabpage would be nice. Or do you have another idea ?
regards
Rudolf