Transferring a temporary file to a form

I have created a temporary file File_Temp and I want to display it on a form. The form FORM should be RUN as a variable: FORM.RUN, because I want to use a function on it returning some values. I know that this works: FORM.RUNMODAL(XXXXX,File_Temp) but I want to do this: Formvariabel.TransferTempFile(File_Temp); FORMVariabel.RUNMODAL; Does anyone have an idea???

Look in form 397 Sales Invoice Statistics. A Similar thing is done there for the VAT. Regars, Mark