User Defined Types
Posted on 2001-07-02
Could someone please tell me what the following statement means and how can I get around it. I am trying to use the IsEmpty function on a user-defined type.
"Only User-Defined Types defined in Public Object modules can be coerced to or from a variant or passed to late-bound functions."
Here is my if statement I am trying to use:
If IsEmpty(strPMActivities) = False Then
My strPMActivities() as udtPMData is my user defined type and is declared with in a function and is passed to other functions.