Solved

Omit day of week

Posted on 2013-01-02
4
226 Views
Last Modified: 2013-01-02
I have a report that displays the time the room is ready unitl the patient goes in the room.  The report shows data Monday thru Saturday. I would like to omit Saturday, how is this done.  The statement in my forumla returns zeros, when actually what I trying to do is delete the records
Im-Turnover-roomrdytopatin.rpt
0
Comment
Question by:vgriffin0423
  • 2
4 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 500 total points
ID: 38736872
I think I would be surprised if you were saying that CR is reportinfg data that doesn't exist.

But if there is data for Saturday trhat you wish to exclude then you can add something like this to your selection rules...

and DayOfWeek ({table.datefield}, 1)<7
0
 

Author Comment

by:vgriffin0423
ID: 38737408
Thanks for time and help.

I want to run Saturdays on a separate report.  I'm not able to get the statement
and dayofweek ({{v_basic_case_rec_data.cr_prdate},1) <7 to work. can you tell by my report what I'm doing wrong
Im-Turnover-roomrdytopatin1.rpt
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 38737470
You have 2 { at the front

AND dayofweek ({v_basic_case_rec_data.cr_prdate},1) < 7

mlmcc
0
 

Author Comment

by:vgriffin0423
ID: 38737565
Sorry mlmcc,
that was a typo it's not on the report like that..................
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question