-
Instancing forms
Is it possible to instantiate a form using it's name held within a string? I'm getting a string of XML from an automation server that contains the form name to display and the data for the form; just need to instantiate it!
I don't really want to load up all forms at startup and cycle the collection each time until I find the required form, either by tag or name... unless it's the only possible way to achieve what I want to do.
-
Try this,
dim oForm as Form
set oForm = "Form name from the xml string"
load(oform)
oform.visible = true