Hello, I'm programming an app with multiple documents, on each document I need an array of variables

but I can't access them form the MDI form (parent)

Example:

On the Child Form at the general declarations section:

Dim XYZ(50) as Integer


On the Parent Form I need to access this variable, I assume I will need to use:

ActiveForm.XYZ(3) = 5000


but this doesn't work,

any ideas how to accomplish this..?

Thanks