Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Supressing + conditions 1

Status
Not open for further replies.

stuckonCrystal

Technical User
Jan 6, 2005
5
CA
Hi all,

I need some help with creating a report that takes in values to display different content.

Here are the 2 conditions of the report:
1.Report takes in a value and check to see if it has a future appt date, then display certain blob of text
2.Report takes in a value and no future appt date is scheduled, then display blob of text.

I am setting my blob of text in 4 differnt grouped footer areas. I have also created the conditions of checking to see if certain value is passed in. However, I am not sure how to check the future appt date with the current appt date time.

Am i on the right track? Should I be using subreports? I am trying to eliminate subreport.

Any help is wanted. Thank you in advance.

stuckonCrystal
 
Try comparing {Table.apptdate} with the currentdate, as in the following suppression formulas:

maximum({table.apptdate},{table.groupfield}) <= currentdate //or

maximum({table.apptdate},{table.groupfield}) > currentdate

-LB

 
Hi LB,

What is the table.groupfield are you referring to? Is it the table.field from : of Group footer name?

Thank you for your quick response.

stuckonCrystal
 
You said your text objects were in a group footer, so you would substitute your group field for {table.groupfield}. Similarly, you would substitute your actual appointment date field for {table.apptdate}. I'm guessing your group field is something like a patient or customer ID.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top