Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, August 29, 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: Open a saved Crystal Report file
Clare Perry
Posts: 5
 
Open a saved Crystal Report fileYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Sep 09 3:29 PM
I have a report which takes ages to run
I therefore can't open it via the application.basicfunctions.doinvoke ... routine as this always refreshes the data, even if the "save data with report" option is ticked

I have the report running overnight via Knowledgesync and saving to a path on the server
I want to click a button in slx and open this file - with the data saved

I have the following code:

dim objrdc, crxreport, crxview, rptwindow
Set objRDC = CreateObject("Crystalruntime.Application")
Set CRXReport = objRDC.OpenReport("filename.rpt")


What is the next command to open the report in Crystal Report Viewer?
If I put
crxreport.printout
it tries to print to a printer - I don't want this but at least I know the text above is ok

I've tried
crxreport.preview
and this errors

Please help....
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Open a saved Crystal Report fileYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Sep 09 11:46 AM
Since you are already using KnowledgeSync to run the report, why don't you output it to PDF and then just have the users open it as a PDF file rather than Crystal?

You may lose some of the Interactive features from Crystal, but since the report takes such a long time to run, it is very likely that your users can't use those features either.

So, have the Report be exported to PDF and then pasted it on a Folder all users can have access to. (e.g. SLX Library).
[Reply][Quote]
Clare Perry
Posts: 5
 
Re: Open a saved Crystal Report fileYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Sep 09 11:51 AM
Hi, you are right - it's because of the interactive features. If I can get it to open in Crystal viewer, they can filter the report themselves (or I can filter based on their selections from a form)

With an export to pdf I am probably going to have to export to over 20 different files so that they view just the data they want (and are allowed to see)
[Reply][Quote]
Sundari Sinha
Posts: 36
 
Re: Open a saved Crystal Report fileYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Sep 09 8:49 AM
Hi Paul,

I also have somewhat similar goal- Being able to see the report at one click from SalesLogix. I have a job that runs in KnowledgeSync every 15 minutes and sends out emails(reports) to the particiapnts.

If the participant calls for some reason- the call center reps have to run the report from SalesLogix and answer the call. I want to give other departments the ability to see the report file of the particular participant that has been emailed out.

I have copied the pdf files to a network drive- and able to open the file by putting this code on the click event of the button-which works fine.


sub main

Dim sFileName

sFileName = "V:\Test_SLX\PDA_Withdrawal_20090922050007_594430.pdf"

Invoke "Open", sFileName
End Sub



I was wondering is it possible for KnowledgeSync to output the customized name of the pdf file? Like-

PDA_Withdrawal _Loanid or

PDA_Withdrawal_ LASTNAME OR

PDA_Withdrawal_ SSN

Here LoanID,LASTNAME,ssn are database fields. Please let me know.



Thanks for all your help !

Sundari

[Reply][Quote]
Sundari Sinha
Posts: 36
 
Re: Open a saved Crystal Report fileYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Sep 09 8:53 AM
Hi Raul-

I apologize for mispelling your name.

Sundari
[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/29/2025 3:07:52 PM