Subform based on a temporary table

Is it possible? I can use RUNMODAL(FormID, TempRecord) and have it display the contents of my temporary table, but I would like to have the form as a subform, and dynamically assign/change the data in the temorary tabel. Can it be done? Best regards Simon

Hi, You can have a look at the sales invoice statistics forms, this does a similar thing for the VAT.

Thanks alot! I will look into those forms [:D]