oMyTempObject = createobject('relation') oMyTempObject.AddProperty('aMyArray[1]') do form myModal with oMyTempObject with oMyTempObject *do whatever with .aMyArray endwithHowever there is another way too which simply instantiates the array before modal form call :
dimension aMyArray[1] do form myModal *do whatever with aMyArrayThis would work too if you don't declare aMyArray as local. It's not public array and scoped to caller routine.