H
hbsclaims
I have a subform based on a query. I do not want the user to delete records
due to the intricate level of relationships in my database, however I do want
to hide the records that the user has chosen to delete. In the onDelete
event I intercept the call and set the property of a field called hide to
TRUE. Then I Requery the form to show changes? Except that the underlying
table has not been updated yet so the requery doesn't show changes because
they have not happened yet. I have tried, refresh, acSaveRecord. I added a
watch to the code and tracked the value of the field in the underlying table
and it did not update in the OnDelete Event. How can I either force the
update to the table or where do I put the Requery to show changes?
Thanks
DLM
due to the intricate level of relationships in my database, however I do want
to hide the records that the user has chosen to delete. In the onDelete
event I intercept the call and set the property of a field called hide to
TRUE. Then I Requery the form to show changes? Except that the underlying
table has not been updated yet so the requery doesn't show changes because
they have not happened yet. I have tried, refresh, acSaveRecord. I added a
watch to the code and tracked the value of the field in the underlying table
and it did not update in the OnDelete Event. How can I either force the
update to the table or where do I put the Requery to show changes?
Thanks
DLM