Solved

Omit day of week

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

679 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