Seems like I'm a bit busy today...
Here is what I have:
Currently I have a form with a button. When this button is pressed a Report is opened. The report contains the same variable and layout as the form, now I can save the report as PDF in the form's original format and print it or send it off.
What I have to get this. Obviously I have to pass the FolderID from the form to the report. So how I did this is I created a variable on the form that stores the FolderID. When the form is loaded I assign a public variable in a SERVER script the Folder ID (I'm thinking the problem occurs here). Then on the report I have a calculated text field that displays this public variable in the SERVER script-
Metastorm.Runtime.Models.ForexPaymentsProject.ForexClass.pcpFolderIDNow this worked but now it seems to not work anymore. Is there an easier way to pass the folder ID to the report to display the folder's columns???