11/27/2024 4:23:44 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.
|
|
|
|
application.reports
Posted: 12 Feb 07 9:03 AM
|
fiogf49gjkf0d Has anyone worked with this? I need to open a report with the filters set for only the current accountid...
Dim objRoport Set objReport = Application.Reports.Item(“myReportName”)
objreport.filterconditions = no idea about the syntax here? objreport.show ? how do i make it open the report?
Thanks, john |
|
|
|
Re: application.reports
Posted: 12 Feb 07 12:57 PM
|
fiogf49gjkf0d Application.Reports is basically used to enumerate the reports in the system. To use the reports you'll want to use Application.BasicFunctions.GetCrystalReport or use the Application.Reports(index).NativeObject.
Both of these return a Crystal RDC object for the report with the connection information already set. From that point there is nothing SLX specific, all just manipulation of the native Crystal RDC object. You can download the Crystal RDC documentation here: http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=29
As for displaying the report. You'll either need to drop the crystal report viewer activex on your toolbox and add to a form or just invoke the report via DoInvoke and set the condition via a script attached to the reports OnOpen event using Application.BasicFunctions.ReportSetConditions. |
|
|
|
Re: application.reports
Posted: 12 Feb 07 1:03 PM
|
fiogf49gjkf0d You can also use/include the OOTB script called System:SLX Report Controller. It can do most of the leg work for you as well. |
|
|
|
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!
|
|
|
|
|
|
|
|