F
fly girl
What are the criteria under which I can close an activated
OLE object with acOLEClose?
I am currently trying to trap the instance in which a user
opens an object, modifies it, saves it but doesn't close
the object and then moves off of the record.
Currently if the user moves off of the record without
closing the object it is left hanging open in the native
app. I want to close it so that I can copy the file in
order to capture any changes and, of course, for general
tidiness...
I have tried to close the object in both _Updated and
_AfterUpdate events and it simply won't close the file.
Code was simple:
MyControl.Action = acOLEClose
No error occurs, but the file is not closed.
Thanks for your help!
OLE object with acOLEClose?
I am currently trying to trap the instance in which a user
opens an object, modifies it, saves it but doesn't close
the object and then moves off of the record.
Currently if the user moves off of the record without
closing the object it is left hanging open in the native
app. I want to close it so that I can copy the file in
order to capture any changes and, of course, for general
tidiness...
I have tried to close the object in both _Updated and
_AfterUpdate events and it simply won't close the file.
Code was simple:
MyControl.Action = acOLEClose
No error occurs, but the file is not closed.
Thanks for your help!