Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Dynamically name the report Post Reply Post New Topic
Author Message
flower
Newbie
Newbie


Joined: 18 Jun 2012
Online Status: Offline
Posts: 12
Quote flower Replybullet Topic: Dynamically name the report
     Posted: 30 Jul 2015 at 8:16am
Hi,

Please help me with a solution for the below issue,

Issue:
We have a server named "Reports on Demand". We store the crystal reports on this server. A user can schedule a report to run at a specific date and time. Also the destination for the report output can be set while being scheduled. Also the report name is hard-coded for example, "Grade 9 students", while being scheduled.

Each user is assigned a school. For example,
user 1 is assigned school number 001 and school name A
user 2 is assigned school number 002 and school name B

When user 1 runs the report, the report has data for school number 001 only and the report is named as "Grade 9 students".

The Need: When user 1 runs the report, I want the report name to be as "sch # sch name date time" for example, "001 A 07302015 1400". Hence the report needs to be named dynamically based on the user school.

Can someone please let me know how the dynamic naming of the report can be done.

Thanks.
IP IP Logged
flower
Newbie
Newbie


Joined: 18 Jun 2012
Online Status: Offline
Posts: 12
Quote flower Replybullet Posted: 03 Aug 2015 at 1:38am
Can someone please help me in this topic. Thanks.
IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 04 Aug 2015 at 5:48am
I do not know of a way unless it can be done with code outside of Crystal itself and then I am still not very confident.  
IP IP Logged
flower
Newbie
Newbie


Joined: 18 Jun 2012
Online Status: Offline
Posts: 12
Quote flower Replybullet Posted: 05 Aug 2015 at 1:44am
Thanks Kevlray for replying...
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum