Print Page | Close Window

Parameters

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=22712
Printed Date: 25 Apr 2024 at 8:33pm


Topic: Parameters
Posted By: mmasselli
Subject: Parameters
Date Posted: 24 Dec 2018 at 8:37am
I have parameters and they're working. However, on one of the values when the user enters I need it to automatically change to another. Is this possible?
{view_episode_summary_admit.program_code} = {?Program}
For example if they enter program X i need it to automatically change to Y.



Replies:
Posted By: kevlray
Date Posted: 27 Dec 2018 at 5:08am
I think so.  You would have formula for your selection criteria.  Something like this.

if {?Program} = "X" then {view_episode_summary_admit.program_code} = 'Y' else
{view_episode_summary_admit.program_code} = {?Program}



Print Page | Close Window