anywhere.
The firrst function checks to see if the form is loaded. If it is not, it
opens it hidden in design mode and looks for the control name. If it
finds
the control, it returns the control type as a string. If in can't find
the
form, it returns "Form Not Found". If it can't find the control, it
returns
"Control Not Found". The second function is used by the first to convert
the
numeric control type to a string.
Public Function FindCtl(strFormName As String, strCtlName As String) As
String