Occurs after the tables or views specified in the data environment for a form, form set, or report are released.
Applies To: DataEnvironment Object
For a form or form set, the AfterCloseTables event occurs after the form set's or form's Unload event occurs and after any tables or views that were opened by the data environment are closed.
For a report, the AfterCloseTables event occurs after any tables or views that were opened by the data environment are closed.
The AfterCloseTables event occurs whenever the CloseTables method is called. The Destroy event of the data environment and its associated objects occurs after the AfterCloseTables event.