Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


How to display data based on specific parameters

How to display data based on specific parameters

How to display data based on specific parameters


i am working on converting a legacy crystal report into new version of CR.my data is based has lot of numerical fields and start date, end date and issue date along with some other regular parameters.

the data matching left parameters should be displayed on the left side of the report and data that is between the right start and end date should be displayed on the right side of the reports i literally have a solid line at center.

i wanted to get this using record selection criteria but my selection now bring either data matching left date parameters or right date parameters. how do i get this using record selection criteria. below is what i have now

({Sheet1_.issuedate}>={?leftstart}and {Sheet1_.issuedate}<={?lrftenddate})
and ({@aliasissuedate}>={?rstartdate} and {@aliasissuedate}<={?renddate})-- this shows only 1 record that is matching 2nd line

What i am missing here . the data base is just 2 tables

RE: How to display data based on specific parameters

Try this:
({Sheet1_.issuedate} in {?leftstart}} to {?lrftenddate})
OR ({@aliasissuedate}IN {?rstartdate} TO {?renddate})

That give you data that matches either criteria. Then on all the fields on the left side apply this Conditional Suppression: not({Sheet1_.issuedate} in {?leftstart}} to {?lrftenddate})
and on the right side: not({@aliasissuedate}IN {?rstartdate} TO {?renddate})

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close