WIN10, LO 6.4.6.2 HSQL2.51
Hi,
I can check whether for example a form exist
ObjTypeWhat = com.sun.star.sdb.application.DatabaseObject.FORM
If ThisDatabaseDocument.FormDocuments.hasbyname(ObjName)
Msgbox "the form exists, can run macro instead"
else
Call Menu_Main........
and based on is existence, run a macro or open a menuform.
One thing I can not figure out, can I delete the form after from the same calling macro ?
Thanks