Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6363901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:05:46+00:00 2026-05-25T00:05:46+00:00

Version: Crystal Report 2008 I have 2 parameters that prompt the user to enter

  • 0

Version: Crystal Report 2008

I have 2 parameters that prompt the user to enter in information.

Parameter 1 (Boolean):
Select All Time Periods?
– True: Show all time periods
– False: I will choose the date

Parameter 2 (date/time):
Dynamic date time based on date/time field.

If the first parameter is true, then I want to omit parameter 2. If the first parameter is false, then I want to prompt the user for the date. Any idea on how to this?

Also, I have the following in my ‘Record Select’

(if {?Select All Time Periods}= True then
date({ReleaseDate.ReleaseDate}) >= date(currentdatetime)
else if {?Select All Time Periods}= False then
date({?Select Release Date}) = {ReleaseDate.ReleaseDate})
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T00:05:47+00:00Added an answer on May 25, 2026 at 12:05 am

    I would do away with the boolean parameter altogether. Keep your {?Select Release Date}, but set it to optional (available in CR 2008 and onwards). Then, put this in your record selection

    if hasvalue({?Select Release Date} then 
        {ReleaseDate.ReleaseDate} = {?Select Release Date}
    else {ReleaseDate.ReleaseDate} >= currentdate

    By default, if a user does nothing with the parameters, only release dates in the future will be selected. If you truly want to select all release dates, past and future, you can simply omit the else-statement.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a legacy app that can display crystal reports to the user, using
Crystal Version - Crystal Reports 2008 Business Objects - XI I have written a
I have an application that uses the Crystal Report COM SDK to create and
I am using crystal reports (the version that comes with visual studio 2008) to
I have a Crystal Report file from an old version (unfortunately I don't know
I'm trying to figure out what version of Crystal Reports I have. It's the
i have an application that is dependent to crystal reports. now i want to
We have a legacy VB6 application that uses Crystal Reports XI to generate printed
I have some reports developed using Crystal Reports 12 and I want to version
First at all, thanks everyone. What do I need to get work crystal report

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.