8/28/2025 9:30:22 AM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
|
|
|
|
Crystal Report Viewer not displaying correctly.
Posted: 20 Mar 09 12:39 PM
|
Hello,
I am using the following code to generate a crystal report.
sub generateCrystalReport(report, filter)
Dim WshShell Dim objRDC
set objRDC = Application.BasicFunctions.GetCrystalReport(report) objRDC.DiscardSavedData() objRDC.RecordSelectionFormula = filter
Dim objMainView, objDetail '---------------------------------------------------------------------------------------------- 'Note: Change the WindowStyle parameter from a 2 to 0 to allow the date picker to show on top '---------------------------------------------------------------------------------------------- Set objMainView = Application.MainViews.Add("System:SLX Crystal Report Viewer", 2, False) 'DNL objMainView.Height = 600 objMainView.Width = 800
objMainView.Caption = Application.Translator.Localize("Sage SalesLogix Crystal Reports Viewer")
Set objDetail = objMainView.DetailsView objDetail.Script.Display objRDC
objMainView.Show ' show report in non-modal dialog
Set objDetail = Nothing Set objMainView = Nothing
End Sub
however when I run the report using the viewer the second page will have funky text. The text is rtf and all of the fields are set correctly to display in the report. The issue does not always happen and if i export the report to PDF the text is fine. All I am doing is looping through a set of records. The issue is happening in the details section but i do not understand. Maybe there is a problem with the report viewer? Any advice? |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|