Symptom
How to pass the CurrentCEUserName to a Stored Procedure parameter without being prompted for a value for the user in Crystal Reports
Resolution
- Create a blank Crystal report.
- Create a formula and insert the special field "CurrentCEUserName"
- Goto Insert menu select subreport.
- Connect the sub report to the stored procedure.
- In the main report right click on the sub report
- Select Change Sub report link.
- Select the formula from the main report and link it to the sub report stored procedure parameter.
- Refresh the main report and you can observe the report is refreshed without prompting for the parameter.
Keywords
KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem
Product
Crystal Reports 2008 V0 ; SAP Crystal Reports XI ; SAP Crystal Reports XI R2