Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Thursday, August 28, 2025 
 
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!
 Architect Forums - SalesLogix Scripting & Customization
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.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Crystal Report Viewer not displaying correctly.
Jerry
Posts: 1
 
Crystal Report Viewer not displaying correctly.Your last visit to this thread was on 1/1/1970 12:00:00 AM
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?
[Reply][Quote]
 Page 1 of 1 
  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!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 8/28/2025 10:27:32 AM