Skip to Content
0
Oct 31, 2019 at 10:28 AM

Reuse parameters in different commands

111 Views

I have to use same parameter(paramCompanyId) in both the commands.

I will be setting the parameter value on code (ASP.Net C#).

crystalReportDocument.SetParameterValue("paramCompanyId", LoggedInMembersCompanyID);

Note: command: crmleadsbycustomer => retrieves report data
command: crmopportunity => dynamic filter dropdown data

Issues:

  1. If I use the same parameter it keeps on prompting without executing the report.
  2. I don’t want user to enter parameter on prompt so I am setting up in code.
  3. I don’t want to use separate parameters for each command (this way works fine)

can u pls help me in this regard.

Thanks
-Haneeq-

Attachments

vs-1.png (59.5 kB)