| |
   
Morovia.com Home | Fonts | Components | Labeling | Library | Order | Forum
  Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
Crystal Reports
 Community Forum : Crystal Reports
Subject Topic: parameter problem Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
dbrook007
Newbie
Newbie


Joined: February 22 2006
Location: United Kingdom
Posts: 2
Posted: February 22 2006 at 7:03am | IP Logged Quote dbrook007

I have a report with a paramter field.

The user picks from a list.  The list contains unique ID names that are used as part of the selection criteria.

However, the users also want an option for ALL.

{?Underwriter Account} = Paramater field
{Report_claim.underwriter_account} = data field

In the selection criteria, I have something like

if {?Underwriter Account} <> '' then
   {Report_claim.underwriter_account} = {?Underwriter Account}

But I also want to add an option for ALL, but what would    {Report_claim.underwriter_account} = ?

Also, how do I get the parameter list the user chooses from to automatically update its contents from the underlying database?

Thanks - Darren


 

Back to Top View dbrook007's Profile Search for other posts by dbrook007
 
pravin3032
Newbie
Newbie
Avatar

Joined: April 05 2007
Location: India
Posts: 4
Posted: April 05 2007 at 2:35pm | IP Logged Quote pravin3032

just modify your selection condition to like this ....

if {?Underwriter Account} <> '' then
   {Report_claim.underwriter_account} = {?Underwriter Account}
else
   {Report_claim.underwriter_account=Report_claim.underwriter_account}

 

Back to Top View pravin3032's Profile Search for other posts by pravin3032
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.3594 seconds.