I have a custom report that uses the same view and preprocess as the 08620 reports (view = vr_08620, preprocess = pb_08620). The report runs perfectly in SL7.0. However, SL2011 it generates a message detailed in the screenshot:
This appears to be related to a change in the preprocess whereby the view's name is prefixxed to the cRI_ID field, returning a value that is unrecognizable to the report.
I am by no means a report/Crystal expert, so would greatly appreciate any help that could be offered.
Stuart Nottingham
I've resolved this issue. While Don's answer wasn't 100% there, it did trigger something in my head. I modified the SP with a CASE statement to allow for the new reportnames for the custom reports. Problem solved!
Stuart
Dear Stuart
Why did you find it necessary to change the name of the view to "vr_08620AVGSUM" in the report? Did you modify the view? From the custom report name "AvgSUM" it sounds like you are performing some mathematical calculations to average information in the report? Are you doing those calculations in the revised view? Generally I try to use the same view as SL where there is a preprocess in place. Is it possible to do the averaging in the report using total fields or formulas instead?
What does the formula field @ParentDocType look like? I do not see that in the standard 08620 report?
Does the report work without the record selection?
Thanks
Don
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,522 Super User 2024 Season 2
Martin Dráb 228,441 Most Valuable Professional
nmaenpaa 101,148