Click here to Skip to main content
15,435,745 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi there....
Please Help me
How to Build/Add Crystal Reports Parameter in Dynamically 
if Parameter is Not existing in Crystal Reports... Please Help me

What I have tried:

I am Adding Mannual Parameter in Crystal Report Rpt File
Updated 26-Nov-20 20:29pm

Don't think anyone at CodeProject is going to answer this because we have had it with all the problems caused by Crystal Reports.
Try an alternative like FastReport instead: open-source-reporting-tools[^]
Download the file, extract it, and run Designer.exe to get started.
Share this answer
intCounter = pReport.DataDefinition.ParameterFields.Count

'For Parameter fields
If intCounter > 0 And Trim(pParams) <> "" Then
strParamenters = pParams
strParValPair = strParamenters.Split("&")
For index = 0 To UBound(strParValPair)
If InStr(strParValPair(index), "=") > 0 Then
strVal = strParValPair(index).Split("=")
paraValue.Value = strVal(1)
currValue = pReport.DataDefinition.ParameterFields(strVal(0)).CurrentValues
End If
End If
Share this answer
Member 12546239 28-Nov-20 6:30am    
How i Pass Dynamic Name in Crystal Report Parameter that i wana Create?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900