Print Page | Close Window

Executing report in runtime (Crystal Developer)

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2022
Forum Name: Technical Questions
Forum Discription: Formulas, charting data, Crystal syntax, etc.
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=144
Printed Date: 02 May 2025 at 12:04am


Topic: Executing report in runtime (Crystal Developer)
Posted By: kevinsmith
Subject: Executing report in runtime (Crystal Developer)
Date Posted: 22 Jan 2007 at 9:09am
Hello guys,

Is it possible to store whole report source in memory and then execute it exactly from memory instead of  from disk file ?
I don't want to deliver source code of reports to my customers together with my application. I've already  created interface in my application that allows execute reports within in. Unfortunately before I execute report I have to place it somewhere on the disk drive.

Any help would be appreciated.
I currently use 8 and 9 version of Crystal but I'd like to migrate to newer version soon.

Best regards,
Kevin Smith



Replies:
Posted By: hilfy
Date Posted: 23 Jan 2007 at 2:37pm

You don't say what language you're developing in...In VB.NET or C#, you can include the .rpt files in your application and they get compiled into the app when you distribute it. 

That probably doesn't help you right now, but it may help you with future development.
 
-Dell


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics


Posted By: kevinsmith
Date Posted: 24 Jan 2007 at 3:15am
That's exactly what I'm doing. All reports are stored in database in encrypted form. However I still have to decrypt them and save them do temporary directory to execute them. Problem is I don't want to save reports on disk. I would like to decrypt them, store in memory and then execute directly from memory.

Currently I'm using Delphi.



Print Page | Close Window