Docmd.DeleteObject Method Example
The DoCmd DeleteObject method performs the Delete Object action in Visual Basic.
The command is often used to remove temporary objects created at run time in the
Access database. The image and text below explain the syntax and options
of the Delete Object command.
ObjectType Optional - AcObjectType.
We have dozens of downloadable Access databases for you to learn and examine.
15 years ago we were putting Access database on the web using Active Server Page programming language for the user interface. See a few examples of old-style Access on the Internet.
AcObjectType can be one of these constants.
ObjectName Optional - a string expression
that is the valid name of an object of the type selected by the objecttype