on 07-31-2014 10:38 AM
Hello all,
i have a crystals report that takes four parameters,how do i pass them to my report when i clicked Print Preview bcos it prompt me to enter the report parameters values.
Regards
Hi Annie,
Change the Parameter name in crystal report to DocKey@.
You can jsut right click the parameter name in the crystal report and rename.
Do not need to change the name in SP.
Regards
Edy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello riniva,
have looked that the two links you sent and does not address my issue.i uploaded my crystal report to SBO as layout using DIAPI.The records save to those two tables(RTYP,RDOC) and no entry goes the OCMN Table.
Private Sub SBO_Application_LayoutKeyEvent(ByRef eventInfo As LayoutKeyInfo, ByRef BubbleEvent As Boolean) Handles SBO_Application.LayoutKeyEvent.
how do i pass the values to the parameters under above event.
Hello Edy,
thanks for your response.am doing exactly what you have describe in your response but still it prompt me to enter the parameter value.i created the crystal report with a stored procedure which takes one parameter.below is the code for handling the action.
Private Sub SBO_Application_LayoutKeyEvent(ByRef eventInfo As LayoutKeyInfo, ByRef BubbleEvent As Boolean) Handles SBO_Application.LayoutKeyEvent
If eventInfo.BeforeAction = True And eventInfo.ReportCode = "A005" Then
Try
Dim finalPara as string = strTypeSelected & strDateFromSelected & strDateToSelected & strGroupBy
eventInfo.LayoutKey = finalPara
Catch ex As Exception
SBO_Application.MessageBox(ex.Message, 1, "Ok")
End Try
End If
End Sub
Regards
User | Count |
---|---|
103 | |
14 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.