Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Data Post Reply Post New Topic
Author Message
immad
Newbie
Newbie


Joined: 05 Jun 2013
Location: Pakistan
Online Status: Offline
Posts: 25
Quote immad Replybullet Topic: Data
     Posted: 19 Aug 2013 at 2:41am
my data is like this

checktime-----------------------Attendance
2013-07-01 09:09:00.000------------P
2013-07-01 09:09:00.000------------      
2013-07-02 08:54:00.000------------P
2013-07-02 18:00:00.000------------      

i want this type of data              

checktime------------------------Attendance
2013-07-01 09:09:00.000-------------P
2013-07-02 08:54:00.000-------------P

if attendance is null then checktime is also show null
immad
IP IP Logged
praveeng
Senior Member
Senior Member
Avatar

Joined: 11 Jul 2011
Online Status: Offline
Posts: 165
Quote praveeng Replybullet Posted: 19 Aug 2013 at 2:44am
Hi Immad,
 
You want to suppress the Checktime rows whenever attendance value is Null. If yes, then
 
Write click on the section > Select section expert and in the suppress formula editor write the condition as below
If IsNull(Attendance_Field) then true.
 
--Praveen G
Praveen Guntuka,
praveen_guntuka@yahoo.com
IP IP Logged
immad
Newbie
Newbie


Joined: 05 Jun 2013
Location: Pakistan
Online Status: Offline
Posts: 25
Quote immad Replybullet Posted: 19 Aug 2013 at 2:49am
well not exactly actullay

i write a formula ins forumla field that
If IsNull({command.Presents}) then isnull ({command.checktime})

means if attendance column show nothing then checktime column also show nothing but its not working also what u suggets me its alos not working
immad
IP IP Logged
praveeng
Senior Member
Senior Member
Avatar

Joined: 11 Jul 2011
Online Status: Offline
Posts: 165
Quote praveeng Replybullet Posted: 19 Aug 2013 at 2:54am
Change your formula as below
 
If IsNull({command.Presents}) then {command.checktime} = "";
 
--Praveen G
Praveen Guntuka,
praveen_guntuka@yahoo.com
IP IP Logged
immad
Newbie
Newbie


Joined: 05 Jun 2013
Location: Pakistan
Online Status: Offline
Posts: 25
Quote immad Replybullet Posted: 19 Aug 2013 at 2:58am
still not working :)
immad
IP IP Logged
Sastry
Moderator
Moderator
Avatar

Joined: 16 Jul 2012
Online Status: Offline
Posts: 537
Quote Sastry Replybullet Posted: 19 Aug 2013 at 3:02am
Hi

Go in Record Selection formula and say :

{Attendence} ='P'

Thanks,
Sastry
IP IP Logged
immad
Newbie
Newbie


Joined: 05 Jun 2013
Location: Pakistan
Online Status: Offline
Posts: 25
Quote immad Replybullet Posted: 19 Aug 2013 at 3:05am
Originally posted by Sastry

Hi

Go in Record Selection formula and say :

{Attendence} ='P'



please tell me where is record selection i am new in this field
immad
IP IP Logged
immad
Newbie
Newbie


Joined: 05 Jun 2013
Location: Pakistan
Online Status: Offline
Posts: 25
Quote immad Replybullet Posted: 19 Aug 2013 at 3:06am
Originally posted by immad

Originally posted by Sastry

Hi

Go in Record Selection formula and say :

{Attendence} ='P'


Thanks :)
immad
IP IP Logged
Sastry
Moderator
Moderator
Avatar

Joined: 16 Jul 2012
Online Status: Offline
Posts: 537
Quote Sastry Replybullet Posted: 19 Aug 2013 at 3:09am
Hi

Go in Report Menu--Recprd Selection Formulas--Record

Then give the formula

{attendence} = "P"
Thanks,
Sastry
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