D
djc
I am declaring a dynamic array variable using Public keyword in the
declarations sections of a form. I need it to be available to another form
that is called from this form.
Public TestArray() As String
I get this error when trying to doing anything... at any event on the form:
"The expression on 'insert any event here' you entered as the event property
setting produced the following error: Constants, fixed length strings,
arrays, user defined types, and declare statements not allowed as public
members of object modules." It goes on further to say:
"The expression may not result in the name of a macro , the name of a
user-defined function, or [event procedure]. There may have been an error
evaluating the function, event, or macro"
Whats this about? What did I do wrong? Can't I make a public array variable?
declarations sections of a form. I need it to be available to another form
that is called from this form.
Public TestArray() As String
I get this error when trying to doing anything... at any event on the form:
"The expression on 'insert any event here' you entered as the event property
setting produced the following error: Constants, fixed length strings,
arrays, user defined types, and declare statements not allowed as public
members of object modules." It goes on further to say:
"The expression may not result in the name of a macro , the name of a
user-defined function, or [event procedure]. There may have been an error
evaluating the function, event, or macro"
Whats this about? What did I do wrong? Can't I make a public array variable?