Solved

Omit day of week

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

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…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

789 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