In form called frmER Declarations I have
Private filenames As Variant
Then
From a moduleCode:Public Property Let fnArray(x As Variant) filenames = x MsgBox UBound(filenames) End Property
Should the Open Form command should be before or after the assignment of Files.Code:Form_frmER.fnArray = files DoCmd.OpenForm "frmER", acNormal, , , , acDialog