Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Record Not Displaying(Earlier Record) Post Reply Post New Topic
Author Message
poongundran
Newbie
Newbie


Joined: 02 Mar 2008
Online Status: Offline
Posts: 9
Quote poongundran Replybullet Topic: Record Not Displaying(Earlier Record)
     Posted: 21 Mar 2008 at 8:39pm
Hi all

       How r u all ? My previous posting topic was under name "Earlier Record Field" (Mr.HILFY helped me in solving the problem ,HILFY,thanks for ur help.Your posting was greatly helpful,i did what u said and worked well.  I m facing another problem in the same scenario)

      Table Name:Weight

     ChildName           WeighedDate                Weight

       Adam                 12/01/2008 00:00:00    15.40
       Kein                   25/02/2008 00:00:00    16.30
       Adam                 25/02/2008 00:00:00    15.80
       Adam                 21/03/2008 00:00:00    15.70
       Kein                   21/03/2008 00:00:00    16.00
       Peter                 21/03/2008 00:00:00     14.30


 I made the copy of the same table

    * Also linked the Weight.ChildName -->Weight_1.ChildName

    * I made two groups from Weight.WeighedDate and Weight.ChildName

    * Used the select expert  Weight.WeighedDate>Weight_1.WeighedDate
and sort the field WeighedDate (Weight_1)in descending order and
also  record selection made using Weight.WeighedDate.

     If  WeighedDate =12-01-2008

     -------- Nothing is displayed-------

      Needed Output

     12-01-2008
  
                     ChildName        CurrentWeight     PreviousWeight

                     Adam                      15.40                    0 

       (Since this is first record of the child-->Adam ,Previous Weight =0)

     If Weighed Date = 25-02- 2008

    Obtained :

     25-02-2008

                     Adam                       15.80                   15.40


    Desired Output :

     25-02-2008

                   Adam                         15.80                    15.40

                   Hein                           16.30                      0

        (Since this is first record of the child-->Hein ,Previous Weight =0)

      Please solve my problem  
    

Edited by poongundran - 21 Mar 2008 at 8:42pm
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 22 Mar 2008 at 9:22am
I saw this question after Dell's (Hilfy) previous post, but this is a tough one. I'm not sure how to solve it. I'm thinking that maybe you can use subreports somehow for the detail records and use that to track the previous weight. But I haven't figured it out yet... Maybe someone else can pitch in.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
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