Notices



Reply
 
LinkBack Thread Tools Display Modes

Old 07-18-2008, 04:54 PM   #1 (permalink)
my feet hurt.

Melissa Siobhan's Avatar

Join Date: May 2006
Location: Connecticut
Posts: 1,452
Rep Power: 4 Melissa Siobhan is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)

same date parameter for two fields

Is there any way to use one parameter date range on two fields.

For example: If I want my report to show any proposal with an expected date in X - Z date range OR with a deadline date in X - Z range is there any way to program it in such a way to not ask me for the same date range twice?
__________________
Melissa S. Graves

Director of Development Services
The Village for Families and Children
www.villageforchildren.org



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 07-18-2008, 05:51 PM   #2 (permalink)
Eskimo Man

Doug Creek's Avatar

Join Date: May 2006
Location: Fairbanks, Alaska
Posts: 640
Rep Power: 0 Doug Creek is an unknown quantity at this point

Blackbaud Products
- Raiser's Edge (RE)
- Financial Edge (FE)
- Blackbaud Analytics/Researcher's Edge (BBA/TRE)

Code:
(
   {field_date_1} in minimum( {?dateRange} ) to maximum( {?dateRange} ) or
  {field_date_2} in minimum( {?dateRange} ) to maximum( {?dateRange} )
) and

<insert rest of criteria here>
__________________
~~~~~~~~~~~~~~~~~~~
Doug Creek
RE Database Administrator
University of Alaska Foundation
sndgc@email.alaska.edu

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 07-18-2008, 06:07 PM   #3 (permalink)
my feet hurt.

Melissa Siobhan's Avatar

Join Date: May 2006
Location: Connecticut
Posts: 1,452
Rep Power: 4 Melissa Siobhan is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)

It is not recognizing the parameter field {?dateRange} Is that a canned parameter or do I need to set it up in parameters. Can you set up a parameter in Crystal and not link it to a specific field?
__________________
Melissa S. Graves

Director of Development Services
The Village for Families and Children
www.villageforchildren.org



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 07-18-2008, 06:12 PM   #4 (permalink)
my feet hurt.

Melissa Siobhan's Avatar

Join Date: May 2006
Location: Connecticut
Posts: 1,452
Rep Power: 4 Melissa Siobhan is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)

I figured it out.

Now how can I stop the thing from using the current date/time in the parameters?
__________________
Melissa S. Graves

Director of Development Services
The Village for Families and Children
www.villageforchildren.org



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 07-18-2008, 06:13 PM   #5 (permalink)
Eskimo Man

Doug Creek's Avatar

Join Date: May 2006
Location: Fairbanks, Alaska
Posts: 640
Rep Power: 0 Doug Creek is an unknown quantity at this point

Blackbaud Products
- Raiser's Edge (RE)
- Financial Edge (FE)
- Blackbaud Analytics/Researcher's Edge (BBA/TRE)

You'll need to set it up in the parameters... In the way I have it defined here, you would set up a date type parameter that allows ranges, no individual values.

I don't use the "Select Expert", if you go to Report --> Selection Formulas --> Record, you can actually edit the formula... Drop the formula below in it (after you create the parameter...)
__________________
~~~~~~~~~~~~~~~~~~~
Doug Creek
RE Database Administrator
University of Alaska Foundation
sndgc@email.alaska.edu

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 07-18-2008, 06:14 PM   #6 (permalink)
Eskimo Man

Doug Creek's Avatar

Join Date: May 2006
Location: Fairbanks, Alaska
Posts: 640
Rep Power: 0 Doug Creek is an unknown quantity at this point

Blackbaud Products
- Raiser's Edge (RE)
- Financial Edge (FE)
- Blackbaud Analytics/Researcher's Edge (BBA/TRE)

In the field explorer, you should see "Parameter Fields" Right click, create a new parameter, name it whatever, then change the {?dateRange} to the name of that parameter...
__________________
~~~~~~~~~~~~~~~~~~~
Doug Creek
RE Database Administrator
University of Alaska Foundation
sndgc@email.alaska.edu

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 07-18-2008, 06:22 PM   #7 (permalink)
my feet hurt.

Melissa Siobhan's Avatar

Join Date: May 2006
Location: Connecticut
Posts: 1,452
Rep Power: 4 Melissa Siobhan is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)

Thank you Doug. I have now sucessfully created my first report that uses parameter fields (Done it in Access but not Crystal)
__________________
Melissa S. Graves

Director of Development Services
The Village for Families and Children
www.villageforchildren.org



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 07-21-2008, 08:10 AM   #8 (permalink)
Crystal Reports Guru

DrewAllen's Avatar

Join Date: May 2006
Location: Philadelphia, PA
Posts: 1,155
Rep Power: 4 DrewAllen is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Information Edge (TIE)
- API/VBA

Quote:
Originally Posted by Doug Creek View Post
Code:
(
   {field_date_1} in minimum( {?dateRange} ) to maximum( {?dateRange} ) or
  {field_date_2} in minimum( {?dateRange} ) to maximum( {?dateRange} )
) and

<insert rest of criteria here>
This can be simplified to
Code:
(
   {field_date_1} in {?dateRange} or
  {field_date_2} in {?dateRange}
) and

<insert rest of criteria here>
Drew
__________________
J. Drew Allen
Children's Hospital of Philadelphia

Crystal Reports and SQL Server Consultant

It is better to live your destiny imperfectly than to live an imitation of somebody else's life with perfection.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
date range, parameter


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Cheap Gas - Loans - Mortgage - Loans
All times are GMT -6. The time now is 06:53 AM.

Miscellaneous


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by BBpixel Team 2008 :: jvbPlugin R1012.364.1

SEO by vBSEO 3.2.0 Copyright 2008 Blackbaud User SocietyAd Management by RedTyger
Inactive Reminders By Icora Web Design

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64