Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Assigning a Shared variable in a Sub report Post Reply Post New Topic
Author Message
TokyoAnt
Newbie
Newbie


Joined: 16 Feb 2007
Online Status: Offline
Posts: 30
Quote TokyoAnt Replybullet Topic: Assigning a Shared variable in a Sub report
    Posted: 01 Apr 2007 at 6:49pm

Hi,

I'm trying to assign a Shared DateTimeVar a date value in a SubReport but when I do this it blanks the entire report out so nothing at all is displayed in preview.
 
The sub & main report is not linked.
 
If I comment out the assignment only, the report works!
 
If I copy the code to the main report & run it from there, it works!
 
This is the code:
 
Shared DateTimeVar myTime;
myTime :=  {Resource.EmploymentStartDate}; // if I comment this, it works.
myTime; // and of course comment this as well
 
I have set up the same data connection in the main report for testing purposes only. It works in the main report fine.
 
What is going on here?
 
Thanks very much for any ideas on this.
 
Ant
 
 
 
IP IP Logged
Post Reply Post New Topic
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



This page was generated in 0.032 seconds.