on 10-20-2016 11:18 AM
Hi experts, I have a crystal report document which is accessing though c# by passing a SQL query and that works fine within main crystal report ,but if there is sub report contain and if the query is pass report doesn't generate as we expect . please find my code attachment here crystalreport.txt
Get the sample app from this KBA -
https://launchpad.support.sap.com/#/notes/1553921
Open your report in CR Designer and open the subreport and then save it and run it through the app and see if that works for you
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What error are you getting when testing with my app?
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i tried but it wont work for me here its place and issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Im using Latest version and i have tried pragmatical log to the sub-reports but it doesn't work for me
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you using SP 18? Latest release....
Ah, you still need to log onto to each subreport object. So in your code adjust it so it looks if any subreports are in the report and then log on.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Irfan,
I changed your Primary Tag to Cr for VS.
What CR runtime are you using?
It could be the Query does not match what the subreport is expecting.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi don ,
Thanx for the reply I was using SAP Crystal Reports 13.0 . but ithis case im am not posting any querys to the sub report i just pass a query to main report .but if i remove the sub report and run it works fine i dont know how to solve this issue if u have any idea kindly post them here
thanx in advance
User | Count |
---|---|
77 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.