Erasing Objects

Search for answers or browse our knowledge base.

< All Topics
Print

With ZOM, it is important to differentiate between erasing an object, deleting an object, and destroying an object:

ErasingRemoves the object such that it cannot be referenced in the application. The object’s description in the Object Dictionary is unaffected.
DeletingRemoves the object’s description from the Object Dictionary. Your ability to reference the object in your application is unaffected.
DestroyingErases and deletes the object, as well as removing the object’s registration from ZOM’s database.

Note an object can be both erased and deleted without being destroyed. This happens if ZOMErase and ZOMDelete are used separately, rather than using ZOMDestroy, leaving the object registered in ZOM’s database.

Erasing an object can be accomplished using the ZOMErase command. The following command erases the objects named “Customers”:

ZOMErase Customers

Was this article helpful?
0 out of 5 stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish