Solved

Omit day of week

Posted on 2013-01-02
4
223 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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 …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now