Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Suppress a text label if value falls within group range

Posted on 2012-03-20
7
Medium Priority
?
353 Views
Last Modified: 2012-03-21
Please open the attachment.

How can I suppress a text field if the Admitted date (blue) falls within the dynamic range of the date shown within the group (orange)? The Admitted Date doesnt have to be an actual value from the group date column, but if the date can be found within the dynamic range, I'd like the text field (Green) to be suppressed.
cr-issue.JPG
0
Comment
Question by:susnewyork
  • 3
  • 2
  • 2
7 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 37744565
Not sure you can do it but try this in the suppression formula


{YourDateField} >= Minimum({DateRangeField})
AND
{YourDateField} <= Maximum({DateFieldRange})


mlmcc
0
 
LVL 1

Author Comment

by:susnewyork
ID: 37744613
I had tried that but there is nothing limiting the formula to the groups dates.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 37744616
Sorry.

{YourDateField} >= Minimum({DateRangeField},{Groupfield})
AND
{YourDateField} <= Maximum({DateFieldRange}, {Groupfield})

mlmcc
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 2

Expert Comment

by:c0fee
ID: 37744619
I am assuming that the dates in the dynamic range (orange) are in the details and you are grouping on the user:

In the green field's Suppress conditional formula:

AdmittedDateField in minimum (OrangeDateField, UserField) to maximum (OrangeDateField, UserField)
0
 
LVL 2

Expert Comment

by:c0fee
ID: 37744642
lol. mlmcc beat me to this. figures.
0
 
LVL 1

Author Comment

by:susnewyork
ID: 37748390
I've been helped by mlmcc for at least 7 years under different user accounts. I'm testing this out now. Thanks.

I need to modify my original request a bit i think. I need to show the text field if the Admitted date falls within 30 days of the Treatment Plan Date within the details section. Any more ideas?
0
 
LVL 101

Accepted Solution

by:
mlmcc earned 2000 total points
ID: 37748465
Try
Not {AdmittedDateFIeld} in Last30Days


If those are 2 dates in the record
Suppress with
DateDiff('d', {TreatmentPlanDate}, {AdmittedDateField}) > 30


mlmcc
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

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…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

927 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