User578734294 posted
Dear Brando, Thanks for your reply I'm accessing from Network folder.
Dear Cnranasinghe, Thanks I acheived by using "Server.UrlPathEncode("\\Network path")".
Now I'm facing issue how to pass a values to Formula fields dynamically.
For Eg.: Imagine 2 reports are there Report A and Report B
Report A has 2 formula fields - X and Y
Report B has 2 formula fields - Y and Z
When running the report A, I'm passing the below piece of code
crReportDocument.DataDefinition.FormulaFields["X"].Text = "'"+x_Value+"'";
crReportDocument.DataDefinition.FormulaFields["Y"].Text = "'"+y_Value+"'";
When running the report B, I'm passing the below piece of code
crReportDocument.DataDefinition.FormulaFields["Y"].Text = "'"+y_Value+"'";
crReportDocument.DataDefinition.FormulaFields["Z"].Text = "'"+z_Value+"'";
My question is
(1) Can we handle formula fields dynamically when running the report.
(2) Depends on the report The formula field has to dynamically select and pass to respective reports.