Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, February 19, 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: Error Printing Report
Vaughn Poulson
Posts: 32
 
Error Printing ReportYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Jan 15 1:05 PM

Ever since we upgraded to v 8.1 we've had problems printing reports on some machines, while on other machines it prints fine.


Here is the code that is used to print the report


            Dim Report


            Dim objReportMV


 


            Set Report = Application.BasicFunctions.GetCrystalReport("Personal:Opp Delivery Recipt")


            Report.DiscardSavedData


 


            Report.RecordSelectionFormula = "{UN_PURCHASEORDER:UN_PURCHASEORDERID} = '" & dgOppPurchaseOrders.GetCurrentField("Un_PurchaseOrderId") & "'"


 


            set objReportMV = Application.MainViews.Add("System:SLX Crystal Report Viewer",0,False)


 


            objReportMV.Caption = "Delivery Reciept"


            objReportMV.height = 600


            objReportMV.width = 800


            'objReportMV.Show


            Application.BasicFunctions.ProcessWindowMessages


            objReportMV.DetailsView.Script.Display Report


 


            Set Report = Nothing


            Set objReportMV = Nothing


 


Here is the error message


An error occurred executing active form script


Object required:'Report'


Not sure why it works for some machines and not others.  

[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): 2/19/2025 5:01:48 PM